From Python to silicon
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

meps:mep-106 [2011/05/31 03:35]
cfelton [Wrap-around type proposals] Modified the code snips to use N-1 instead of N
meps:mep-106 [2013/03/10 14:29] (current)
jandecaluwe [A proposal for MyHDL: the modbv type]
Line 195: Line 195:
 proposing a ''modbv'' type in MyHDL. Behaviorally, the only proposing a ''modbv'' type in MyHDL. Behaviorally, the only
 difference with ''intbv'' would be how bounds are handled: difference with ''intbv'' would be how bounds are handled:
-out-of-bound values result in an error in the ''intbv'', and +out-of-bound values result in an error with ''intbv'', and in 
-wrap-around in the ''modbv''. In particular, ''modbv'' would have +wrap-around with ''modbv''. In particular, ''modbv'' would have 
-exactly the same interface as the intbv. Wrap-around+exactly the same interface as the intbv. The wap-around
 behavior would be defined as follows, with ''val'' denoting behavior would be defined as follows, with ''val'' denoting
 the current value and ''min''/''max'' the bounds: the current value and ''min''/''max'' the bounds:
meps/mep-106.txt · Last modified: 2013/03/10 14:29 by jandecaluwe
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki