URL
https://opencores.org/ocsvn/versatile_counter/versatile_counter/trunk
Subversion Repositories versatile_counter
Compare Revisions
- This comparison shows the changes necessary to convert path
/versatile_counter/trunk
- from Rev 11 to Rev 12
- ↔ Reverse comparison
Rev 11 → Rev 12
/rtl/verilog/versatile_counter.v
106,13 → 106,13
`ifdef CNT_CE |
if (cke) |
`endif |
qi <= q_next; |
qi <= q_next;xs |
|
`ifdef CNT_Q |
`ifdef CNT_TYPE_GRAY |
always @ (posedge clk or posedge rst) |
if (rst) |
q <= `CNT_LENGTH'd0; |
q <= `CNT_RESET_VALUE; |
else |
`ifdef CNT_CE |
if (cke) |
/rtl/verilog/versatile_counter_defines.v
17,6 → 17,9
// number of CNT bins |
`define CNT_LENGTH 4 |
|
// async reset value |
`define CNT_RESET_VALUE `CNT_LENGTH'h0 |
|
// clear |
`define CNT_CLEAR |
|
/doc/versatile_counter.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/doc/src/versatile_counter.odt
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/doc/src/block.dia
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/doc/src/block.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream