Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The value of a program is proportional to the weight of its output.


devel / comp.arch.fpga / Re: VHDL project. Connecting components to one component

SubjectAuthor
* VHDL project. Connecting components to one componentDurko Rurko
`- Re: VHDL project. Connecting components to one component嚴子清

1
VHDL project. Connecting components to one component

<ae8637d3-cba8-4151-9a06-61f0269cdaedn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=259&group=comp.arch.fpga#259

  copy link   Newsgroups: comp.arch.fpga
X-Received: by 2002:a05:6214:21e2:: with SMTP id p2mr18383155qvj.88.1643646900714;
Mon, 31 Jan 2022 08:35:00 -0800 (PST)
X-Received: by 2002:ac8:7957:: with SMTP id r23mr15464906qtt.450.1643646900565;
Mon, 31 Jan 2022 08:35:00 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.fpga
Date: Mon, 31 Jan 2022 08:35:00 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=84.245.120.18; posting-account=PTYHNAoAAADqffvUMfLWMO74yb8mmyJe
NNTP-Posting-Host: 84.245.120.18
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ae8637d3-cba8-4151-9a06-61f0269cdaedn@googlegroups.com>
Subject: VHDL project. Connecting components to one component
From: durko208@gmail.com (Durko Rurko)
Injection-Date: Mon, 31 Jan 2022 16:35:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 7
 by: Durko Rurko - Mon, 31 Jan 2022 16:35 UTC

Hello guys, I am student at high school interested in VHDL programming and post quantum algorithms. I have a code where algorithm is divided to three parts. Each part is a component. I would like to create another component, which will put input to one of those three components, this component will create output, this will be input to the third component and this one will create final output. Could you please help me with it ? If so, contact me please. I will provide you with all the code I have and we can discuss the solution. Thank you very much.

Re: VHDL project. Connecting components to one component

<4038bdb5-402d-4d13-80ef-ff70e27c7ac6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=304&group=comp.arch.fpga#304

  copy link   Newsgroups: comp.arch.fpga
X-Received: by 2002:ac8:4b48:0:b0:31e:fa8c:8555 with SMTP id e8-20020ac84b48000000b0031efa8c8555mr72654qts.416.1658491116422;
Fri, 22 Jul 2022 04:58:36 -0700 (PDT)
X-Received: by 2002:a05:6870:8094:b0:10d:bebb:d796 with SMTP id
q20-20020a056870809400b0010dbebbd796mr19159oab.262.1658491116154; Fri, 22 Jul
2022 04:58:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.arch.fpga
Date: Fri, 22 Jul 2022 04:58:35 -0700 (PDT)
In-Reply-To: <ae8637d3-cba8-4151-9a06-61f0269cdaedn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:b011:1003:1773:88be:8ee8:f1e6:aac7;
posting-account=1nON6woAAADEytxl6qT_jy3COMEu1gD9
NNTP-Posting-Host: 2001:b011:1003:1773:88be:8ee8:f1e6:aac7
References: <ae8637d3-cba8-4151-9a06-61f0269cdaedn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4038bdb5-402d-4d13-80ef-ff70e27c7ac6n@googlegroups.com>
Subject: Re: VHDL project. Connecting components to one component
From: ryc1688@gmail.com (嚴子清)
Injection-Date: Fri, 22 Jul 2022 11:58:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 39
 by: 嚴子清 - Fri, 22 Jul 2022 11:58 UTC

durk...@gmail.com 在 2022年2月1日 星期二凌晨12:35:02 [UTC+8] 的信中寫道:
> Hello guys, I am student at high school interested in VHDL programming and post quantum algorithms. I have a code where algorithm is divided to three parts. Each part is a component. I would like to create another component, which will put input to one of those three components, this component will create output, this will be input to the third component and this one will create final output. Could you please help me with it ? If so, contact me please. I will provide you with all the code I have and we can discuss the solution. Thank you very much.

HI ,
In order to connect components together, two things must be done.
First, component declaration
Second, useing PortMap syntax to connect the components

Example:Below is a Frequency divider circuit which can divide frequency from 10MHz to 1Hz by using seven components(div_10)
....
ARCHITECTURE A OF FREQUENCY_DIVIDER IS
--component declaration
COMPONENT DIV_10
PORT(
CLK_IN : IN STD_LOGIC;
CLK_OUT : OUT STD_LOGIC
);
END COMPONENT;

SIGNAL CP : STD_LOGIC_VECTOR(7 DOWNTO 0) ;
BEGIN
--connect components togather using "PORT MAP"
U0: div_10 PORT MAP (CLK_10MHz, CP(1)); --1MHz
U1: div_10 PORT MAP (CP(1), CP(2)); --100KHz
U2: div_10 PORT MAP (CP(2), CP(3)); --10KHz
U3: div_10 PORT MAP (CP(3), CP(4)); --1KHz
U4: div_10 PORT MAP (CP(4), CP(5)); --100Hz
U5: div_10 PORT MAP (CP(5), CP(6)); --10Hz
U6: div_10 PORT MAP (CP(6), CP(7)); --1Hz

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor