EDAboard.com | EDAboard.de | EDAboard.co.uk | WTWH Media

needs help with vhdl coding

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - VHDL Language - needs help with vhdl coding


Guest

Fri Jan 31, 2020 5:45 am   



I have created a FIFO for 32bit registers(holds 16 registers).Now I need to call the first 32 bit register from the FIFO to my main code and check the LSB bit position of the 32 bit register to see if it is set to '1'. Iam not sure how this can be done. Can anyone please help me with this? I would also like to know is it possible to use this FIFO as a package? Please help me...

Rick C
Guest

Fri Jan 31, 2020 6:45 am   



On Thursday, January 30, 2020 at 10:59:13 PM UTC-5, sweety...@gmail.com wrote:
> I have created a FIFO for 32bit registers(holds 16 registers).Now I need to call the first 32 bit register from the FIFO to my main code and check the LSB bit position of the 32 bit register to see if it is set to '1'. Iam not sure how this can be done. Can anyone please help me with this? I would also like to know is it possible to use this FIFO as a package? Please help me...

It would help tremendously if you pared your code down to the essential part of accessing the register file and showed it to us.

Sectioning your code is a good habit to develop. Write it in small blocks that can be thought about separately and seen separately.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

Thomas Stanka
Guest

Fri Jan 31, 2020 10:45 am   



Am Freitag, 31. Januar 2020 04:59:13 UTC+1 schrieb sweety...@gmail.com:
> I have created a FIFO for 32bit registers(holds 16 registers).Now I need to call the first 32 bit register from the FIFO to my main code and check the LSB bit

You created a Fifo. Now imagine you would read out the first entry of the fifo and check if bit 0 of the first entry is equal to '1'.

As far as I understand that is your task, should be easy for someone creting a Fifo.

bye tHomas

elektroda.net NewsGroups Forum Index - VHDL Language - needs help with vhdl coding

Ask a question - edaboard.com

Arabic version Bulgarian version Catalan version Czech version Danish version German version Greek version English version Spanish version Finnish version French version Hindi version Croatian version Indonesian version Italian version Hebrew version Japanese version Korean version Lithuanian version Latvian version Dutch version Norwegian version Polish version Portuguese version Romanian version Russian version Slovak version Slovenian version Serbian version Swedish version Tagalog version Ukrainian version Vietnamese version Chinese version Turkish version
EDAboard.com map