Skip to content
Snippets Groups Projects
Commit 69e79bf8 authored by dam1n19's avatar dam1n19
Browse files

SOC1-167: Added newline to romgeneration in srom file

parent 62724302
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ initial
$fwrite(fd," output reg [31:0] RDATA );\n");
$fwrite(fd,"reg [%0d:2] addr_r;\n", ADDRWIDTH+1);
$fwrite(fd,"always @(posedge CLK) if (EN) addr_r <= ADDR;\n");
$fwrite(fd,"always @(addr_r)");
$fwrite(fd,"always @(addr_r)\n");
$fwrite(fd," case(addr_r[%0d:2]) \n", ADDRWIDTH+1);
if (ADDRWIDTH > 8)
for (i = 0; i < 4 << (ADDRWIDTH); i=i+4) begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment