Commit Graph

140 Commits (e097662c623fbf7c55c1f90fface1989d0c26d4e)

Author SHA1 Message Date
liangkangnan b02b38bddc temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-05-11 16:21:58 +08:00
liangkangnan 36147d9391 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-05-11 10:35:36 +08:00
liangkangnan 4a4c08bc69 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-05-04 21:11:43 +08:00
liangkangnan 10d8d35a13 rtl: fix combilation loop
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-05-02 14:51:12 +08:00
liangkangnan 738fba1d6f temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-30 18:27:30 +08:00
liangkangnan 53865371ce temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-30 16:41:24 +08:00
liangkangnan dfa8bf490e bus: fix bug
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-30 08:59:10 +08:00
liangkangnan f9412fca3c temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-29 19:27:25 +08:00
liangkangnan 77812d60df temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-26 14:08:26 +08:00
liangkangnan 4da79b6046 debug: add sba module
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-26 09:48:19 +08:00
liangkangnan ec65381ba9 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-25 17:14:09 +08:00
liangkangnan 462cc4c786 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-13 19:49:09 +08:00
liangkangnan 05e2441d24 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-13 16:34:00 +08:00
liangkangnan 9ac1b31965 rtl: add reset module
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-13 14:12:47 +08:00
liangkangnan 7803e89d68 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-13 11:10:06 +08:00
liangkangnan e53f681063 rtl: optimize csr regs
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-13 09:25:29 +08:00
liangkangnan bd2d372c66 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-12 19:18:35 +08:00
liangkangnan 16fa475ba7 rtl:perips: remove vld rdy signals
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-09 20:47:00 +08:00
liangkangnan ad775ef316 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-09 20:27:33 +08:00
liangkangnan f1f09584ee optimize ifu and lsu
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-09 20:22:34 +08:00
liangkangnan e3667e0ddd temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-04-01 11:29:00 +08:00
liangkangnan 9943d02600 temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-03-31 18:00:19 +08:00
liangkangnan c070f0b49d temp commit
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-03-31 15:25:22 +08:00
Blue Liang 8214134b89 tmp commit, unstable
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-03-29 15:14:50 +08:00
liangkangnan fdc776ab5e rtl: debug: support reset cmd
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-12-06 20:06:12 +08:00
liangkangnan f03f42fc9b rtl: add reset ctrl module
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-11-18 22:15:08 +08:00
liangkangnan 5c9f1a140e rtl: add mem access misaligned exception
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-11-08 22:08:03 +08:00
Blue Liang 60a4f7d6df rtl: add generate block name
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-10-26 17:01:04 +08:00
liangkangnan 2b44f1e8f3 first release
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-10-23 21:26:18 +08:00
liangkangnan 4876225f60 rtl: utils: add full handshake CDC source
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-23 21:39:20 +08:00
liangkangnan 386ba909ba rtl: jtag: handle DM module in cpu clock domain
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-23 21:37:00 +08:00
liangkangnan 633a1d0b15 rtl: debug: fix latch
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-20 22:18:58 +08:00
liangkangnan 29623c8d2a rtl: div: fix error
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-14 22:22:42 +08:00
liangkangnan 045f482fe1 rtl: jtag: optimization
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-13 17:47:18 +08:00
liangkangnan 8c3d7ac932 rtl: div: timing optimization
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-12 14:17:34 +08:00
liangkangnan 8468303ba7 rtl: add gen_buf.v
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-12 14:14:59 +08:00
liangkangnan b57bfe7736 rtl: timing optimization
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-09 21:00:14 +08:00
liangkangnan a4a723e1e7 rtl: add gen_dff.v
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-09 20:58:08 +08:00
liangkangnan b6754f002c rtl: div: optimization
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-09-06 23:17:56 +08:00
liangkangnan 0ed81ff1a8 rtl: remove unused signals
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-08-29 22:35:43 +08:00
liangkangnan 10a3df3e5a rtl: core: fix sync interrupt
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-08-15 16:05:06 +08:00
Blue Liang fccb920070 rtl: core: optimization
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-08-13 09:01:27 +08:00
Blue Liang fa958a6153 rtl: rib: arbitrated by logic instead of clock
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-08-13 08:56:01 +08:00
liangkangnan e23ad11e7e rtl: fix sync interrupt return address
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-07-25 22:15:03 +08:00
liangkangnan b39062a4ea rtl: fix interrupt return address
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-07-25 16:23:45 +08:00
liangkangnan b0c4d1fa4d rtl:timer: update interrupt assert
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-07-12 22:33:15 +08:00
liangkangnan a73b0ea36b rtl: add uart_debug module
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-07-04 14:32:31 +08:00
liangkangnan 4c6c044afb rtl: add uart rx function
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-06-26 22:40:44 +08:00
liangkangnan 2619f26eae gpio: add input function
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-06-14 10:40:25 +08:00
liangkangnan e28381dbcf add support for ebreak inst
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-06-13 14:56:44 +08:00
liangkangnan 5b888bd483 rtl: core: fix data related for csr regs
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-06-05 22:22:49 +08:00
liangkangnan de9a978417 fix: must exit openocd after download temporary
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-31 14:41:39 +08:00
liangkangnan eec414aa96 use = instead of <=
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-31 14:38:57 +08:00
liangkangnan 834fcfb3ef debug: optimization for jtag
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-13 21:27:40 +08:00
liangkangnan 260246f488 fix nop inst
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-07 22:40:31 +08:00
liangkangnan 07b33baf94 perips: add spi master
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-05 18:31:08 +08:00
liangkangnan 837af2c977 use = instead of <= in combination logic
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-02 11:58:44 +08:00
liangkangnan 043bc23f8a use = instead of <= in combination logic
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-02 11:57:25 +08:00
liangkangnan d7bdc35911 fix uninitial reg var
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-05-02 11:53:48 +08:00
liangkangnan aead35700c add signal
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:15:46 +08:00
liangkangnan d92352e1c2 use relative include path
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:15:00 +08:00
liangkangnan 02d19b9e6f add mie and mstatus reg
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:13:12 +08:00
liangkangnan 4a530ab894 add ECALL inst
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:11:53 +08:00
liangkangnan 02bcee9aa9 sync for different clock
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:10:11 +08:00
liangkangnan 43aca8195c add clint hold input signal
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:08:46 +08:00
liangkangnan 6cf86e0286 stop div when interrupt assert
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:04:44 +08:00
liangkangnan 09513f8f2c support preemption
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-25 17:03:13 +08:00
liangkangnan dcac95dfab add code comments
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-18 20:14:37 +08:00
liangkangnan 18577d9b61 use oneshot mode
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-18 11:37:22 +08:00
liangkangnan ce225394df fix reg1 reg2 bits width
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-18 11:35:43 +08:00
liangkangnan b29781a8de optimize div
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-18 11:23:46 +08:00
liangkangnan 2638240d0b add mepc reg
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-18 11:22:20 +08:00
liangkangnan 96f8d6e5a0 optimized: use statemachine
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-18 11:21:09 +08:00
liangkangnan 0e188d4934 reorganize example and optimize interrupt
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-11 19:03:49 +08:00
liangkangnan b2827b2fb4 uart: update
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-06 19:54:40 +08:00
liangkangnan e714a0ba63 add write dpc
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-06 14:34:12 +08:00
liangkangnan a68f31b604 perips: add uart_tx and gpio
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-05 22:27:00 +08:00
liangkangnan 6660f18b3d support CSR inst
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-04-05 22:22:34 +08:00
liangkangnan ecb9fca8c1 update
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-03-29 23:19:14 +08:00
liangkangnan 8b51737477 add interrupt support and example
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-03-08 15:09:30 +08:00
liangkangnan c7c9193982 add peripheral: timer
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-03-08 15:07:17 +08:00
liangkangnan 8208cbc100 support JTAG
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-03-01 14:55:36 +08:00
liangkangnan 0d4e8bb5f4 improve ex module
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-02-23 17:51:55 +08:00
liangkangnan 076610fb0d rename openriscv to tinyriscv
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-02-23 17:01:45 +08:00
liangkangnan 97c7cee0ad return to IDLE state when div completed
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-02-22 20:38:16 +08:00
liangkangnan 3b1807c467 fix: multi drive error
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-02-22 15:24:10 +08:00
liangkangnan f0bd0845d6 fix implementation error by EDA tool
Signed-off-by: liangkangnan <liangkangnan@163.com>
2020-02-16 21:27:11 +08:00
Blue Liang 9420b85796 add div inst
Signed-off-by: Blue Liang <liangkangnan@163.com>
2020-01-13 08:26:41 +08:00
Blue Liang 97efd66e78 add mul instruction
Signed-off-by: Blue Liang <liangkangnan@163.com>
2020-01-02 16:12:13 +08:00
Blue Liang ac995f0b01 first release
Signed-off-by: Blue Liang <liangkangnan@163.com>
2019-12-04 08:47:19 +08:00