xtcx
Advanced Member level 1
- Joined
- Dec 22, 2007
- Messages
- 493
- Helped
- 65
- Reputation
- 130
- Reaction score
- 58
- Trophy points
- 1,308
- Location
- Bangalore, India
- Activity points
- 5,003
std_logic_vector to std_logic
Guys! Could anybody help me how to convert a register configured as STD_LOGIC_VECTOR(0 DOWNTO 0) to STD_LOGIC?...In FIFO IP generation, I configured 1 bit width and 32 bit depth...The design has created Din and Dout as type "STD_LOGIC_VECTOR(0 DOWNTO 0)" but in my design all types are of STD_LOGIC;...Both are 1-bit, but don't know how to change. If I change the type in IP generated FIFO file as "STD_LOGIC" as in my design, it show errors in translation!...Please help friends!...Tanks
Guys! Could anybody help me how to convert a register configured as STD_LOGIC_VECTOR(0 DOWNTO 0) to STD_LOGIC?...In FIFO IP generation, I configured 1 bit width and 32 bit depth...The design has created Din and Dout as type "STD_LOGIC_VECTOR(0 DOWNTO 0)" but in my design all types are of STD_LOGIC;...Both are 1-bit, but don't know how to change. If I change the type in IP generated FIFO file as "STD_LOGIC" as in my design, it show errors in translation!...Please help friends!...Tanks