Commit Graph

195 Commits

Author SHA1 Message Date
Peter McGoron f361cac01b make values update on the start of the control loop, and make resets only take effect after the control loop has completed an iteration 2022-10-21 17:38:07 -04:00
Peter McGoron 12686391ee use integer saturation for dac value adjustment 2022-10-20 19:43:13 -04:00
Peter McGoron 2a300b9438 write total value to dac, not adjustment vlaue 2022-10-20 15:42:24 -04:00
Peter McGoron c42e2fe419 add write-read interface to control loop 2022-10-18 07:10:06 -04:00
Peter McGoron dc2b1fe339 move SPI master out of control loop design 2022-10-17 14:37:37 -04:00
Peter McGoron 0ef00c15d7 move simulators to the same directory of the simulated core 2022-10-17 00:45:19 -04:00
Peter McGoron 029cc53c5f some more changes 2022-10-17 00:44:30 -04:00
Peter McGoron 5125719a1f move control loop stub code to control loop rtl 2022-10-12 08:48:34 -04:00
Peter McGoron 7ca119d45f soc.py legal 2022-09-17 00:58:15 -04:00
Peter McGoron 22ced7dcc8 add SPI link 2022-09-17 00:37:42 -04:00
Peter McGoron e8bbc1303e add readme and COPYING 2022-09-17 00:35:47 -04:00
Peter McGoron 0298299402 add everything im working on 2022-09-16 18:01:34 -04:00
Peter McGoron 7bf784e6bc add jsmn.h 2022-08-02 19:44:09 -04:00
Peter McGoron 2c7ef45254 move tests to remove clutter 2022-08-02 19:44:04 -04:00
Peter McGoron 898b2e8cba ethernet communication 2022-08-01 14:44:09 -04:00
Peter McGoron 7de27a2408 change converter code to drive new verilog 2022-07-27 09:33:11 -04:00
Peter McGoron 1add778b51 change CSR types 2022-07-27 09:32:49 -04:00
Peter McGoron 01cbcb5fae add verilog SPI 2022-07-21 17:07:52 -04:00
Peter McGoron 38c15cec45 add floating point flag to threads 2022-07-18 12:46:39 -04:00
Peter McGoron 52e2dada98 rename dac_adc_test_main.c to test_dac_adc_main.c 2022-07-15 13:56:58 -04:00
Peter McGoron 52ecbd1901 io.c: document ADC code 2022-07-15 11:01:03 -04:00
Peter McGoron 683f85df00 add .gitignore 2022-07-14 15:48:07 -04:00
Peter McGoron 4370ee3d69 add dac_adc test 2022-07-14 15:47:31 -04:00
Peter McGoron 618bf3266a fix io.c includes and logging 2022-07-14 15:46:59 -04:00
Peter McGoron 9a0d590cf1 dont bring in csr locations when not necessary 2022-07-14 15:46:38 -04:00
Peter McGoron ffae5ecdf9 add sign extension, header 2022-07-14 15:11:22 -04:00
Peter McGoron 592939f5bd change pinout 2022-07-14 15:10:58 -04:00
Peter McGoron f6c90ff3d1 ADC code simplification; use lowest common denominator instead 2022-07-14 10:14:09 -04:00
Peter McGoron 75e1001452 checks and misc fix 2022-07-14 09:27:18 -04:00
Peter McGoron 5287366140 start DAC and ADC io 2022-07-13 15:36:36 -04:00
Peter McGoron 32b96eaf9a add macros for number of adcs and dacs 2022-07-13 15:35:42 -04:00
Peter McGoron 60d9b63163 testing PMOD DAC output successful 2022-07-13 14:12:06 -04:00
Peter McGoron 2e42fef4ef Makefiles depend on generated files 2022-07-13 14:11:56 -04:00
Peter McGoron 7fa5431ea4 add Makefile to software 2022-07-13 13:56:51 -04:00
Peter McGoron 50a3989e98 i broke the PMOD connectors by driving them 5V lol 2022-07-13 12:30:36 -04:00
Peter McGoron f3c29d57d4 cast csr locations to supress errors 2022-07-13 12:11:47 -04:00
Peter McGoron 94feabe652 add software 2022-07-13 12:07:03 -04:00
Peter McGoron 675e4adc27 add pin_io.h to clean 2022-07-12 15:37:57 -04:00
Peter McGoron 6cbc83f1ab add generate_csr_locations 2022-07-12 15:36:50 -04:00
Peter McGoron 49c50cbe07 add devicetree generation 2022-07-12 15:22:14 -04:00
Peter McGoron 930b5ec8af cleanup 2022-07-12 13:30:28 -04:00
Peter McGoron 9d35754dab add makefile; condense LiteX CSRs 2022-07-12 13:29:26 -04:00
Peter McGoron cbd49b5a87 add clean.sh, add adc and dac pins to SOC properly 2022-07-11 20:33:25 -04:00
Peter McGoron 98ee6cdecc import constraints 2022-07-11 12:02:16 -04:00
Peter McGoron 4cd1f30e72 add custom SoC generator 2022-07-10 19:28:32 -04:00