chisel2-deprecated icon indicating copy to clipboard operation
chisel2-deprecated copied to clipboard

RegUpdate and RegReset?

Open cornytrace opened this issue 9 years ago • 3 comments

These functions are used in the tutorial and manual, but are not explained. A google search has also revealed nothing. Can someone explain what they do, and perhaps add this information to the manual?

cornytrace avatar Aug 15 '16 16:08 cornytrace

I can't find them in the chisel source or tutorial source. You sure you don't mean RegNext and RegInit? RegNext( x ) creates a register directly after x. RegInit( x ) will reset to the value of x and other behaviour must be further defined.

da-steve101 avatar Aug 31 '16 02:08 da-steve101

Look here: https://chisel.eecs.berkeley.edu/2.2.0/manual.html Sections 7 and 8 use RegUpdate and RegReset

cornytrace avatar Sep 07 '16 19:09 cornytrace

Ok sure. That is really out of date. Changed around 3 yrs ago see commit https://github.com/ucb-bar/chisel/commit/79134837e243f071664048f634c9e17352b0c6de Essentially RegReset has been renamed to RegInit and RegUpdate has been renamed RegNext

da-steve101 avatar Sep 12 '16 23:09 da-steve101