pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
-N -o tex_out/svp64.tex sv/svp64.mdwn
+ ./mdwn_inline.py sv/svp64/appendix.mdwn tex_out/appendix.mdwn
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/svp64_appendix.tex sv/svp64/appendix.mdwn
+ -N -o tex_out/svp64_appendix.tex tex_out/appendix.mdwn
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
-N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn
--filter pandoc_img.py \
-N -o tex_out/pseudocode_simplev.tex \
../../openpower-isa/openpower/isa/simplev.mdwn
+ ./mdwn_inline.py sv/vector_ops.mdwn tex_out/vector_ops.mdwn
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
- -N -o tex_out/vector_ops.tex sv/vector_ops.mdwn
+ -N -o tex_out/vector_ops.tex tex_out/vector_ops.mdwn
pandoc -f markdown -t latex --top-level-division=section \
--filter pandoc_img.py \
-N -o tex_out/cr_int_predication.tex sv/cr_int_predication.mdwn
if fname.startswith("gf_reference"):
with open("../../nmigen-gf/"+fname) as inc:
o.write(inc.read())
+ else:
+ with open("../%s" % fname) as inc:
+ o.write(inc.read())
else:
with open("../%s.mdwn" % fname) as inc:
o.write(inc.read())
[here](https://git.libre-soc.org/?p=libreriscv.git;a=blob;f=openpower/sv/test_preduce.py;hb=HEAD)
```
-[[!inline raw="yes" pages="openpower/sv/preduce.py" ]]
+[[!inline pages="openpower/sv/preduce.py" raw="yes" ]]
```
This algorithm works by noting when data remains in-place rather than