I'm trying to implement the #nandgame CPU in Verilog.

Today I learned about SystemVerilog, always_comb, case blocks.

#fpga

nandgame - fpga-exper - FPGA experiments

I think I finished my #nandgame CPU implementation.

Now, I still need to write some testbenches....
... and then figure out whether I should write an assembler.The only one I could find was https://github.com/gmfCoding/Nandgame-Assembler.

https://git.uvok.de/fpga-exper/tree/nandgame?h=main

GitHub - gmfCoding/Nandgame-Assembler: This is a CLI utility to compile Nandgame assembly code into machine code.

This is a CLI utility to compile Nandgame assembly code into machine code. - gmfCoding/Nandgame-Assembler

GitHub
Apparently/supposedly this should be equivalent to nand2tetris?
I'm contemplating whether to write an assembler for my nandgame CPU or not...
...
How does one write an assembler in the first place?
Simply use (f)lex / yacc / bison, or is there better tooling?