mirror of
https://github.com/olofk/serv.git
synced 2026-02-14 11:23:59 +00:00
Syntax fixes to please Quartus
This commit is contained in:
@@ -66,7 +66,7 @@ module serv_csr
|
||||
|
||||
assign o_q = csr_out;
|
||||
|
||||
wire o_timer_irq_en = mstatus_mie & mie_mtie;
|
||||
assign o_timer_irq_en = mstatus_mie & mie_mtie;
|
||||
|
||||
always @(posedge i_clk) begin
|
||||
if (i_en & (i_cnt == 3) & (i_csr_sel == CSR_SEL_MSTATUS))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
module shift_reg
|
||||
#(parameter LEN = 0)
|
||||
#(parameter LEN = 0,
|
||||
parameter INIT = 0)
|
||||
(
|
||||
input wire clk,
|
||||
input wire i_en,
|
||||
@@ -7,8 +8,6 @@ module shift_reg
|
||||
output wire o_q,
|
||||
output wire [LEN-2:0] o_par);
|
||||
|
||||
parameter INIT = 0;
|
||||
|
||||
reg [LEN-1:0] data = INIT;
|
||||
assign o_q = data[0];
|
||||
assign o_par = data[LEN-1:1];
|
||||
|
||||
Reference in New Issue
Block a user