Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/if_gen2' into revamp2
Browse files Browse the repository at this point in the history
  • Loading branch information
Edw590 committed Aug 28, 2024
2 parents 41dc0ec + f64d565 commit 1fdce51
Show file tree
Hide file tree
Showing 28 changed files with 229 additions and 252 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
- name: Clean untracked files and directories (like old submodules)
run: git clean -ffdx
- name: init mem and no ext mem
run: make fpga-run BOARD=CYCLONEV-GT-DK INIT_MEM=1 USE_EXTMEM=0
run: make fpga-run BOARD=cyclonev_gt_dk INIT_MEM=1 USE_EXTMEM=0
- name: no init mem and ext mem
run: make fpga-run BOARD=CYCLONEV-GT-DK INIT_MEM=0 USE_EXTMEM=1
run: make fpga-run BOARD=cyclonev_gt_dk INIT_MEM=0 USE_EXTMEM=1

ku040:
runs-on: self-hosted
Expand All @@ -80,9 +80,9 @@ jobs:
- name: Clean untracked files and directories (like old submodules)
run: git clean -ffdx
- name: init mem and no ext mem
run: make fpga-run BOARD=AES-KU040-DB-G INIT_MEM=1 USE_EXTMEM=0
run: make fpga-run BOARD=aes_ku040_db_g INIT_MEM=1 USE_EXTMEM=0
- name: no init mem and ext mem
run: make fpga-run BOARD=AES-KU040-DB-G INIT_MEM=0 USE_EXTMEM=1
run: make fpga-run BOARD=aes_ku040_db_g INIT_MEM=0 USE_EXTMEM=1

lib:
runs-on: self-hosted
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@ CORE := iob_soc

SIMULATOR ?= icarus
SYNTHESIZER ?= yosys
BOARD ?= CYCLONEV-GT-DK
BOARD ?= cyclonev_gt_dk

BUILD_DIR ?= $(shell nix-shell --run "py2hwsw $(CORE) print_build_dir")

INIT_MEM ?= 1
USE_EXTMEM ?= 0

ifneq ($(DEBUG),)
EXTRA_ARGS +=--debug_level $(DEBUG)
endif

setup:
nix-shell --run "py2hwsw $(CORE) setup --no_verilog_lint --py_params 'init_mem=$(INIT_MEM):use_extmem=$(USE_EXTMEM)'"
nix-shell --run "py2hwsw $(CORE) setup --no_verilog_lint --py_params 'init_mem=$(INIT_MEM):use_extmem=$(USE_EXTMEM)' $(EXTRA_ARGS)"

pc-emul-run:
nix-shell --run "make clean setup && make -C ../$(CORE)_V*/ pc-emul-run"
Expand Down Expand Up @@ -65,7 +69,7 @@ board_server_status:

clean:
nix-shell --run "py2hwsw $(CORE) clean --build_dir '$(BUILD_DIR)'"
@rm -rf ../*.summary ../*.rpt
@rm -rf ../*.summary ../*.rpt
@find . -name \*~ -delete

# Remove all __pycache__ folders with python bytecode
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ When you start the simulation, IOb-SoC's simulation Makefile will log you on to

### Set up the remote FPGA toolchain and board servers

Using the CYCLONEV-GT-DK board as an example, note that in
`hardware/fpga/quartus/CYCLONEV-GT-DK/Makefile,` the variable for the FPGA tool
Using the cyclonev_gt_dk board as an example, note that in
`hardware/fpga/quartus/cyclonev_gt_dk/Makefile,` the variable for the FPGA tool
server logical name, `FPGA_SERVER,` is set to `QUARTUS_SERVER,` and the
variable for the user name, `FPGA_USER`, is set to `QUARTUS_USER`; the
variable for the board server, `BOARD_SERVER,` is set to `CYC5_SERVER`, and
Expand Down
4 changes: 2 additions & 2 deletions document/doc_build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ASICSYNTH?=0
#default is 0 as EDA tools may not be accessible
RESULTS ?= 1
#results for intel FPGA
INT_FAMILY ?=CYCLONEV-GT-DK
INT_FAMILY ?=cyclonev_gt_dk
#results for xilinx fpga
XIL_FAMILY ?=AES-KU040-DB-G
XIL_FAMILY ?=aes_ku040_db_g

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ set_property IOSTANDARD LVCMOS18 [get_ports {rxd_i}]
#set_property IOSTANDARD LVCMOS18 [get_ports {trap}]

####### User PUSH Switches
#set_property PACKAGE_PIN N24 [get_ports {reset_i}]
#set_property IOSTANDARD LVCMOS12 [get_ports {reset_i}]
set_property PACKAGE_PIN K20 [get_ports {reset_i}]
set_property IOSTANDARD LVCMOS12 [get_ports {reset_i}]
#set_property PACKAGE_PIN N24 [get_ports {areset_i}]
#set_property IOSTANDARD LVCMOS12 [get_ports {areset_i}]
set_property PACKAGE_PIN K20 [get_ports {areset_i}]
set_property IOSTANDARD LVCMOS12 [get_ports {areset_i}]

#set_property PACKAGE_PIN K18 [get_ports {gpio_push_sw_tri_i[0]}]
#set_property IOSTANDARD LVCMOS12 [get_ports {gpio_push_sw_tri_i[0]}]
Expand Down
Loading

0 comments on commit 1fdce51

Please sign in to comment.