Make full sim manual
This commit is contained in:
@@ -47,22 +47,6 @@ build fpga: # This job runs in the build stage, which runs first.
|
|||||||
- cd hw/efinix_fpga
|
- cd hw/efinix_fpga
|
||||||
- make
|
- make
|
||||||
|
|
||||||
build sim:
|
|
||||||
tags:
|
|
||||||
- iverilog
|
|
||||||
- linux
|
|
||||||
stage: build
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- hw/efinix_fpga/simulation/sim_top
|
|
||||||
- hw/efinix_fpga/simulation/init_hex.mem
|
|
||||||
script:
|
|
||||||
- source init_env.sh
|
|
||||||
- cd hw/efinix_fpga/simulation
|
|
||||||
- make sim_top
|
|
||||||
dependencies:
|
|
||||||
- build toolchain
|
|
||||||
|
|
||||||
build bios:
|
build bios:
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
@@ -85,22 +69,9 @@ build kernel:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build toolchain
|
- build toolchain
|
||||||
|
|
||||||
run sim:
|
|
||||||
tags:
|
|
||||||
- linux
|
|
||||||
- iverilog
|
|
||||||
stage: simulate
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- hw/efinix_fpga/simulation/sim_top.vcd
|
|
||||||
script:
|
|
||||||
- source init_env.sh
|
|
||||||
- cd hw/efinix_fpga/simulation
|
|
||||||
- make sim
|
|
||||||
dependencies:
|
|
||||||
- build toolchain
|
|
||||||
|
|
||||||
full sim:
|
full sim:
|
||||||
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- linux
|
- linux
|
||||||
- iverilog
|
- iverilog
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ initial begin
|
|||||||
button_reset <= '0;
|
button_reset <= '0;
|
||||||
repeat(10) @(r_clk_cpu);
|
repeat(10) @(r_clk_cpu);
|
||||||
button_reset <= '1;
|
button_reset <= '1;
|
||||||
repeat(1250000) @(posedge r_clk_cpu);
|
repeat(1500000) @(posedge r_clk_cpu);
|
||||||
$finish();
|
$finish();
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user