OpenCores
URL https://opencores.org/ocsvn/light8080/light8080/trunk

Subversion Repositories light8080

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 67 to Rev 68
    Reverse comparison

Rev 67 → Rev 68

/light8080/trunk/tools/ihex2vlog/ihex2vlog.exe Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
/light8080/trunk/tools/ihex2vlog/ihex2vlog.c
271,8 → 271,12
fprintf(file, "always @(posedge clk)\n");
fprintf(file, "begin\n");
fprintf(file, " if (we)\n");
fprintf(file, " begin\n");
fprintf(file, " ram[addr] <= din;\n");
fprintf(file, " dout <= ram[addr];\n");
fprintf(file, " dout <= din;\n");
fprintf(file, " end\n");
fprintf(file, " else\n");
fprintf(file, " dout <= ram[addr];\n");
fprintf(file, "end\n");
fprintf(file, "\n");
fprintf(file, "endmodule\n");
/light8080/trunk/c/ram_image.v
1050,8 → 1050,12
always @(posedge clk)
begin
if (we)
begin
ram[addr] <= din;
dout <= ram[addr];
dout <= din;
end
else
dout <= ram[addr];
end
 
endmodule
/light8080/trunk/verilog/rtl/ram_image.v
1050,8 → 1050,12
always @(posedge clk)
begin
if (we)
begin
ram[addr] <= din;
dout <= ram[addr];
dout <= din;
end
else
dout <= ram[addr];
end
 
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.