Skip to content

Commit

Permalink
Add Verilator build makefile target
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
  • Loading branch information
robertszczepanski committed Dec 18, 2024
1 parent 33b53ee commit 68b606a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ lint-tests: ## Run lint on tests source code
cd $(COCOTB_VERIF_DIR) && $(PYTHON) -m nox -R -s lint

lint-verilator:
verilator -Wall --lint-only -f $(I3C_ROOT_DIR)/src/i3c.f
verilator --timing -Wall --lint-only -f $(I3C_ROOT_DIR)/src/i3c.f

build-verilator:
verilator --timing -Wall --binary -f $(I3C_ROOT_DIR)/src/i3c.f

#
# Tests
Expand Down

0 comments on commit 68b606a

Please sign in to comment.