std_logic type question

Status
Not open for further replies.

alexz

Full Member level 5
Joined
Nov 19, 2004
Messages
283
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Location
UK
Activity points
2,246
Is the std_logic type used for sinthesys as well as for simulation?
Or I should use the 'bit' type for the real device programming?
 

std_logic works in both
 

What about other values then '1' and '0' ?
 

other logic states are also there as well say for example 'z' is high impedencce used mostly for bus probing,then a unknown state means the voltage level is in between high and low logic so undetermined then then the case with weak 1 and 0 more prone to noise than the strong one.hence bobth std_logic as wll as bit type are used
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…