Disable sdr debug, initialize uart status

This commit is contained in:
Byron Lathi
2023-09-27 21:14:09 -07:00
parent ec4c3bab86
commit 9e19a1eb72
3 changed files with 4 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ parameter mem_sizes = 2**(ROW_BITS+COL_BITS) - 1;
// Write Burst Mode
wire Write_burst_mode = Mode_reg[9];
wire Debug = 1'b1; // Debug messages : 1 = On
wire Debug = 1'b0; // Debug messages : 1 = On
wire Dq_chk = Sys_clk & Data_in_enable; // Check setup/hold time for DQ
assign Dq = Dq_reg; // DQ buffer

View File

@@ -49,7 +49,7 @@ initial begin
button_reset <= '0;
repeat(10) @(r_clk_2);
button_reset <= '1;
repeat(8000) @(r_clk_2);
repeat(20000) @(r_clk_2);
$finish();
end

View File

@@ -46,8 +46,9 @@ enum bit [1:0] {READY, WAIT, TRANSMIT} state, next_state;
always_ff @(posedge clk_50) begin
if (reset) begin
state = READY;
state <= READY;
irqb <= '1;
status <= '0;
end else begin
state <= next_state;
end