From eb8643ddbef43547eb7bfe58789a3908926c7258 Mon Sep 17 00:00:00 2001 From: Vaino Kauppila Date: Sun, 19 Apr 2026 12:32:58 +0300 Subject: refactor dir structure, add fib.c --- hdl/common.vhd | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hdl/common.vhd (limited to 'hdl/common.vhd') diff --git a/hdl/common.vhd b/hdl/common.vhd new file mode 100644 index 0000000..c986ec5 --- /dev/null +++ b/hdl/common.vhd @@ -0,0 +1,10 @@ +package alu_types is + type alu_op is (ADDWF, ANDWF, ADDLW, ANDLW, BCF, BTFSC, + BSF, BTFSS, CLRF, CLRW, COMF, DECF, + DECFSZ, INCF, INCFSZ, IORLW, MOVF, MOVWF, CALL, + GOTO, MOVLW, RETLW, RETUR, IORWF, NOP, + RLF, RRF, SUBLW, SUBWF, SWAPF, XORLW, XORWF); + + -- Status register bits: Z=2, DC=1, C=0 + type alu_flag is (FLAG_Z, FLAG_DC, FLAG_C); +end package; -- cgit v1.3