URL
https://opencores.org/ocsvn/light8080/light8080/trunk
Subversion Repositories light8080
Compare Revisions
- This comparison shows the changes necessary to convert path
/light8080/trunk/tools/ihex2vlog
- from Rev 65 to Rev 68
- ↔ Reverse comparison
Rev 65 → Rev 68
/ihex2vlog.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/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"); |