1-
21ifneq ($(wildcard vmakefile) ,)
32include vmakefile
43endif
@@ -9,7 +8,7 @@ XSD_DIR = schema1.5
98all : gen
109
1110gen :
12- # no config
11+ # no config
1312 ipxact2systemverilog --srcFile example/input/test.xml --destDir example/output
1413 ipxact2rst --srcFile example/input/test.xml --destDir example/output
1514 ipxact2md --srcFile example/input/test.xml --destDir example/output
1817 ipxact2c --srcFile example/input/test.xml --destDir example/output
1918 pandoc -s example/output/example.rst -o example/output/example.html
2019 pandoc -s example/output/example.rst -o example/output/example.rtf
21-
22- # default config
23- ipxact2systemverilog --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
24- ipxact2rst --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
25- ipxact2md --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
26- ipxact2vhdl --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
27- ipxact2c --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
28-
29- # no default config
30- ipxact2systemverilog --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
31- ipxact2rst --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
32- ipxact2md --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
33- ipxact2vhdl --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
34- ipxact2c --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
35-
36- # RestructuredText and Sphinx with Wavedrom
37- ipxact2rst --srcFile example/input/test.xml --destDir example/output_sphinx --config example/input/sphinx.ini
20+ pandoc -s example/output/example.rst -o example/output/example.pdf
21+
22+ # default config
23+ ipxact2systemverilog --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
24+ ipxact2rst --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
25+ ipxact2md --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
26+ ipxact2vhdl --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
27+ ipxact2c --srcFile example/input/test.xml --destDir example/output_default --config example/input/default.ini
28+
29+ # no default config
30+ ipxact2systemverilog --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
31+ ipxact2rst --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
32+ ipxact2md --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
33+ ipxact2vhdl --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
34+ ipxact2c --srcFile example/input/test.xml --destDir example/output_no_default --config example/input/no_default.ini
35+
36+ # RestructuredText and Sphinx with Wavedrom
37+ ipxact2rst --srcFile example/input/test.xml --destDir example/output_sphinx --config example/input/sphinx.ini
3838 sphinx-build example/output_sphinx example/output_sphinx/build -q -b latex
3939 make -C example/output_sphinx/build
4040 cp example/output_sphinx/build/example.pdf example/output_sphinx
4141
42- # test
42+ # test2
4343 ipxact2systemverilog --srcFile example/input/test2.xml --destDir example/output
4444 ipxact2rst --srcFile example/input/test2.xml --destDir example/output
4545 ipxact2md --srcFile example/input/test2.xml --destDir example/output
4646 ipxact2vhdl --srcFile example/input/test2.xml --destDir example/output
4747 ipxact2md --srcFile example/input/test2.xml --destDir example/output
4848 ipxact2c --srcFile example/input/test2.xml --destDir example/output
49+ pandoc -s example/output/example2.rst -o example/output/example2.pdf
4950
5051 cp example/output/example2.rst example/output_sphinx2
51- ipxact2rst --srcFile example/input/test2.xml --destDir example/output_sphinx2 --config example/input/sphinx.ini
52+ ipxact2rst --srcFile example/input/test2.xml --destDir example/output_sphinx2 --config example/input/sphinx.ini
5253 sphinx-build example/output_sphinx2 example/output_sphinx2/build -q -b latex
5354 make -C example/output_sphinx2/build
5455 cp example/output_sphinx2/build/example2.pdf example/output_sphinx2/example2.pdf
5556
5657
57- compile :
58+ compile :
5859 test -d work || vlib work
5960 vlog +incdir+example/output example/output/example_sv_pkg.sv example/tb/sv_dut.sv example/tb/tb.sv
6061 vcom -93 example/output/* .vhd example/tb/vhd_dut.vhd
@@ -100,10 +101,12 @@ validate:
100101 xmllint --noout --schema ipxact2systemverilog/xml/ipxact-1.5/component.xsd example/input/test2.xml
101102
102103test_rst :
103- rst-lint example/output/* .rst
104+ rst-lint example/output/example.rst # example2.rst does have an error when not usign Sphinx
105+ rst-lint example/output_default/* .rst
106+ rst-lint example/output_no_default/* .rst
104107
105108venv : requirements.txt
106109 python3 -m venv ./venv
107110 pip install wheel
108- python3 setup.py bdist_wheel
111+ python3 setup.py bdist_wheel
109112 pip install --upgrade -r requirements.txt
0 commit comments