Commit Graph

280 Commits

Author SHA1 Message Date
Byron Lathi
262c4cfd83 Add sd emulator (need to add sd mode) 2024-03-12 22:14:02 -07:00
Byron Lathi
14cf303c9f Update sd controller for sim 2024-03-12 21:51:55 -07:00
Byron Lathi
02097ff3b8 Update sd controller with data host 2024-03-12 20:23:41 -07:00
Byron Lathi
455814ec14 Update sd controller and test code 2024-03-12 18:20:51 -07:00
Byron Lathi
f7580f719f Add program target to makefiles 2024-03-10 22:25:29 -07:00
Byron Lathi
61f6e53327 Updates based on fpga test
1. in SD mode, CMD0 does not have a response, so we specifically ignore
   it.

2. The penable signal was messed up, although it looks like this doesn't
   matter anyway

3. The SD clock should be out of phase from the data signal by 180
   degrees, so that we get max hold time
2024-03-10 22:09:55 -07:00
Byron Lathi
3c0bf9740c Delete init hex on clean 2024-03-10 21:56:48 -07:00
Byron Lathi
d3914b3a51 Add sd io pins 2024-03-10 16:09:12 -07:00
Byron Lathi
cb426670cd Do synthesis with sd controller 2024-03-10 12:29:08 -07:00
Byron Lathi
da41e60ee7 integrate sd controller and super simple tb 2024-03-10 11:31:07 -07:00
Byron Lathi
81382925f8 Update rtl common and sd controller submodules 2024-03-10 10:24:50 -07:00
Byron Lathi
96e014567d Add sd controller submodule 2024-03-04 00:06:29 -08:00
Byron Lathi
358dfdbe75 Add sdram io to fpga 2024-03-03 23:31:02 -08:00
Byron Lathi
aee04b777a Fix sdram sim
Just need to add the RTL_SIM define
2024-03-03 21:33:28 -08:00
Byron Lathi
10a72d8e1f Add sdram, don't think it works though 2024-03-03 20:43:37 -08:00
Byron Lathi
01b1ecbcac Add basic sim 2024-03-03 17:09:17 -08:00
Byron Lathi
ab9da189d1 Build software correctly, ignore debugger files 2024-03-03 14:50:40 -08:00
Byron Lathi
42fbc17a2a Add test code and top level Makefile 2024-03-03 12:52:44 -08:00
Byron Lathi
cd1dfa39cb Fix PLL settings, add cpu output clock 2024-03-03 09:45:04 -08:00
Byron Lathi
0752220b0e Add basic project with cpu, ram and rom 2024-03-02 22:46:48 -08:00
Byron Lathi
0a0394ae33 Delete everything 2024-03-02 20:11:33 -08:00
Byron Lathi
2cdd260a87 Change kicad library commit
Needs to be a commit in kicad-library-2
2023-12-01 07:57:38 -08:00
Byron Lathi
d49fa64d34 Merge branch '14-terminal-driver' into 'master'
Resolve "Terminal Driver"

Closes #14

See merge request bslathi19/super6502!58
2023-12-01 09:13:39 +00:00
Byron Lathi
e805b19eca Add some flops to the mapper
This is NOT how to do CDC
2023-11-30 17:40:21 -08:00
Byron Lathi
3524892f80 Add quick uart irq test 2023-11-28 17:45:20 -08:00
Byron Lathi
0a854fcb7b Add wires to fpga block (but don't connect them) 2023-11-26 18:55:02 -08:00
Byron Lathi
59017d637e Create schematic heirarchy 2023-11-26 17:34:15 -08:00
Byron Lathi
b9595a7450 Create project, set env vars 2023-11-26 17:08:30 -08:00
Byron Lathi
1d61d183b0 Add updated kicad library 2023-11-26 14:37:43 -08:00
Byron Lathi
ed3edb5fab Change kicad library to be a submodule 2023-11-25 21:19:34 -08:00
Byron Lathi
fe960bf0e3 Add docs 2023-11-25 20:38:38 -08:00
Byron Lathi
be31de4470 Add parts list 2023-11-25 20:22:39 -08:00
Byron Lathi
38af9b2545 Reduce cpu speed 2023-11-24 22:43:47 -08:00
Byron Lathi
89a1a70917 Revert sdram state machine upgrade 2023-11-24 17:54:03 -08:00
Byron Lathi
8721c816fc Move fast signals to fast reset 2023-11-23 12:06:19 -08:00
Byron Lathi
aba37ec98d Decouple spi_clk from cpu_clk 2023-11-23 11:49:16 -08:00
Byron Lathi
930e802a86 Add init code for mapper
init_mapper now remaps so that it can change irq vectors
2023-11-22 17:33:12 -08:00
Byron Lathi
b7b852ae4a Update irq test code 2023-11-21 20:04:06 -08:00
Byron Lathi
102c4dfe8a Use vectors for irq and nmi 2023-11-21 18:53:17 -08:00
Byron Lathi
1714a1e6da add uart interrupt 2023-11-21 18:47:16 -08:00
Byron Lathi
4392a01de8 #53 Reduce interrupts to 128 2023-11-21 08:17:36 -08:00
Byron Lathi
7089b663ca add interrupt init code (and increase rtc tick rate) 2023-11-20 22:23:18 -08:00
Byron Lathi
323519edbd Enable interrupts, print out current rtc tick 2023-11-20 20:02:31 -08:00
Byron Lathi
e6a16b0c73 Add device setup test using kernel drivers 2023-11-20 08:29:35 -08:00
Byron Lathi
cf3aebc9f3 Fix irq code tb now that interrupts are used 2023-11-19 15:10:48 -08:00
Byron Lathi
429be0276a Add rtc to efinix project 2023-11-19 15:04:41 -08:00
Byron Lathi
7c24389b10 Update RTC code test 2023-11-19 13:50:00 -08:00
Byron Lathi
7002aeebe6 Add rtc code test 2023-11-19 11:58:37 -08:00
Byron Lathi
00e4c551c1 Make full sim manual 2023-11-18 21:12:18 -08:00
Byron Lathi
cad6e80081 Merge branch '11-create-rtc' into 'master'
Resolve "Create RTC"

Closes #11

See merge request bslathi19/super6502!40
2023-11-19 03:54:43 +00:00