Skip to content

Commit

Permalink
adding new design
Browse files Browse the repository at this point in the history
  • Loading branch information
xtofalex committed May 29, 2024
1 parent 64d7327 commit 45747bc
Show file tree
Hide file tree
Showing 2 changed files with 689,576 additions and 0 deletions.
14 changes: 14 additions & 0 deletions designs/swerv_wrapper/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
include ../Makefile.inc

all: swerv_wrapper_snl.v

swerv_wrapper/snl.mf: swerv_wrapper.v
export PYTHONPATH=${SET_PYTHONPATH}; \
${PYTHON_ENV} ${NAJA_EDIT} -f verilog -t snl -i $< -o swerv_wrapper -p ${NANGATE45_PRIMITIVES} -e ${SCRIPTS}/pre_edit.py -a all -z ${SCRIPTS}/post_edit.py

swerv_wrapper_snl.v: swerv_wrapper/snl.mf
export PYTHONPATH=${SET_PYTHONPATH}; \
${PYTHON_ENV} ${NAJA_EDIT} -f snl -t verilog -i swerv_wrapper_snl -o swerv_wrapper_snl.v

clean:
-rm -rf __pycache__ swerv_wrapper swerv_wrapper_snl.v swerv_wrapper_edited.v *.log *.stats
Loading

0 comments on commit 45747bc

Please sign in to comment.