Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Perferd bit order to avoid cds_thru in RTL synthisies of VHDL

Status
Not open for further replies.

jmoore180

Junior Member level 1
Joined
Feb 2, 2011
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,463
Hi.
I was wandering what people do in industry when writing VHDL code for synthesis? I have always used ( n downto 0 ) for std_logic_vectors. However when coding for RTL one needs to use ( 0 to n) so that the buss ordering matches the default ordering in virtuoso in order to avoid having to use cds_thru to reorder the buss ie <15:0> to <0:15>. The reasoning for avoiding cds_thru is it is incompatible with some simulators (ultra_sim) and you haft to replace it with a 0.001 ohm resistor.

So what is more common in industry (n downto 0) with cds_thru or ( 0 to n)?
 

actually counting in VHDL is from (0to n) only ...not from (n to 0)...always practically we caluclate from low to high...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top