diff --git a/Dockerfile b/Dockerfile index cabbb37dc..22d150d40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ RUN apt-get install -y nodejs RUN apt-get install tree RUN code-server --install-extension ms-python.python RUN code-server --install-extension mechatroner.rainbow-csv +RUN code-server --install-extension wavetrace.wavetrace +RUN code-server --install-extension dotjoshjohnson.xml RUN usermod -u 2000 openfpga_user RUN groupmod -g 2000 openfpga_user diff --git a/openfpga_flow/tasks/template_tasks/vpr_blif_template/arch/vpr_arch.xml b/openfpga_flow/tasks/template_tasks/vpr_blif_template/arch/vpr_arch.xml index 5af28d265..0fc9d794c 100644 --- a/openfpga_flow/tasks/template_tasks/vpr_blif_template/arch/vpr_arch.xml +++ b/openfpga_flow/tasks/template_tasks/vpr_blif_template/arch/vpr_arch.xml @@ -1,287 +1,191 @@ - - - - - - - - - - - - - - - - - - - - - - io.outpad io.inpad - io.outpad io.inpad - io.outpad io.inpad - io.outpad io.inpad - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 1 1 1 1 - 1 1 1 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + io.outpad io.inpad + io.outpad io.inpad + io.outpad io.inpad + io.outpad io.inpad + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 1 1 1 1 + 1 1 1 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 261e-12 - 261e-12 - 261e-12 - 261e-12 - 261e-12 - 261e-12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --> + + + + + + + + + + + + + + + + + + + + + + + + 261e-12 + 261e-12 + 261e-12 + 261e-12 + 261e-12 + 261e-12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/openfpga_flow/tasks/template_tasks/vpr_blif_template/config/task.conf b/openfpga_flow/tasks/template_tasks/vpr_blif_template/config/task.conf index db592f726..22f0358a3 100644 --- a/openfpga_flow/tasks/template_tasks/vpr_blif_template/config/task.conf +++ b/openfpga_flow/tasks/template_tasks/vpr_blif_template/config/task.conf @@ -13,8 +13,6 @@ power_analysis = false spice_output=false verilog_output=true timeout_each_job = 20*60 -# fpga_flow= vpr_blif If input in in .blif format -# fpga_flow= yosys_vpr If input in in .v format fpga_flow=yosys_vpr [OpenFPGA_SHELL] @@ -26,7 +24,7 @@ openfpga_sim_setting_file=${PATH:OPENFPGA_PATH}/openfpga_flow/openfpga_simulatio arch0=${PATH:TASK_DIR}/arch/vpr_arch.xml [BENCHMARKS] -# bench0=${PATH:TASK_DIR}/micro_benchmark/and2/and2.blif +bench0=${PATH:TASK_DIR}/micro_benchmark/and2/and2.v bench1=${PATH:TASK_DIR}/micro_benchmark/mult8/mult8.v [SYNTHESIS_PARAM] @@ -35,7 +33,6 @@ bench_read_verilog_options_common = -nolatches bench_yosys_common=${PATH:OPENFPGA_PATH}/openfpga_flow/misc/ys_tmpl_yosys_vpr_flow.ys bench0_top = and2 -bench0_act = ${PATH:TASK_DIR}/micro_benchmark/and2/and2.act bench0_verilog = ${PATH:TASK_DIR}/micro_benchmark/and2/and2.v bench1_top = mult8 bench1_verilog = ${PATH:TASK_DIR}/micro_benchmark/mult8/mult8.v diff --git a/openfpga_flow/tasks/template_tasks/vpr_blif_template/example_script.openfpga b/openfpga_flow/tasks/template_tasks/vpr_blif_template/example_script.openfpga index a6d6d166a..d34090f36 100644 --- a/openfpga_flow/tasks/template_tasks/vpr_blif_template/example_script.openfpga +++ b/openfpga_flow/tasks/template_tasks/vpr_blif_template/example_script.openfpga @@ -44,6 +44,7 @@ build_fabric_bitstream --verbose # Write fabric-dependent bitstream write_fabric_bitstream --file fabric_bitstream.bit --format plain_text +write_fabric_bitstream --file fabric_bitstream.xml --format xml # Write the Verilog netlist for FPGA fabric # - Enable the use of explicit port mapping in Verilog netlist