URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/trunk/bench
- from Rev 8 to Rev 7
- ↔ Reverse comparison
Rev 8 → Rev 7
/verilog/minsoc_bench.v
49,11 → 49,7
integer initialize, final, ptr; |
reg [8*64:0] file_name; |
reg load_file; |
|
initial begin |
reset = 1'b0; |
clock = 1'b0; |
|
load_file = 1'b0; |
`ifdef INITIALIZE_MEMORY_MODEL |
load_file = 1'b1; |
61,7 → 57,6
`ifdef START_UP |
load_file = 1'b1; |
`endif |
|
//get firmware hex file from command line input |
if ( load_file ) begin |
if ( ! $value$plusargs("file_name=%s", file_name) || file_name == 0 ) begin |
216,12 → 211,19
|
|
// |
// Regular clocking and output |
// Regular clocking, reset and output |
// |
initial begin |
clock <= 1'b0; |
reset <= 1'b0; |
|
end |
|
always begin |
#((`CLK_PERIOD)/2) clock <= ~clock; |
end |
|
|
`ifdef VCD_OUTPUT |
initial begin |
$dumpfile("../results/minsoc_wave.vcd"); |