| PHONY: clean gen_inst | |
| # true or false | |
| # if true, generate LLM head instructions for FPGA simulation (if false, make sure the host machine has AVX512) | |
| SIM_LLM_HEAD = true | |
| gen_inst: | |
| python gen_instruction.py --sim_cmode mxint4 $(if $(filter-out false,$(SIM_LLM_HEAD)),--sim_llm_head) | |
| python gen_instruction.py --sim_cmode mxint8 $(if $(filter-out false,$(SIM_LLM_HEAD)),--sim_llm_head) | |
| clean: | |
| rm -f *.bin | |