mirror of
https://github.com/UzixLS/TSConf_MiST.git
synced 2025-07-19 07:11:22 +03:00
update JT12
This commit is contained in:
@ -22,14 +22,14 @@
|
||||
module jt12_eg_cnt(
|
||||
input rst,
|
||||
input clk,
|
||||
input clk_en,
|
||||
input clk_en /* synthesis direct_enable */,
|
||||
input zero,
|
||||
output reg [14:0] eg_cnt
|
||||
);
|
||||
|
||||
reg [1:0] eg_cnt_base;
|
||||
|
||||
always @(posedge clk) begin : envelope_counter
|
||||
always @(posedge clk, posedge rst) begin : envelope_counter
|
||||
if( rst ) begin
|
||||
eg_cnt_base <= 2'd0;
|
||||
eg_cnt <=15'd0;
|
||||
|
Reference in New Issue
Block a user