-
Notifications
You must be signed in to change notification settings - Fork 0
Matviy/FPGA_Driver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Minimal Linux PCI FPGA Driver Module, allows reading/writing arbitrary registers via char device. Usually, you'd just mmap() the PCI resource, but this is for fun. root@localhost:~/fpga_module# python3 test.py Write Tests: ['0xaa', '0xbb', '0xcc', '0xdd'] ['0x11', '0x22', '0xcc', '0xdd'] Read Tests: Register: CLOCK_LATCH_FREQ Value: 24999955 Register: LED_FLASH_RATE Value: 255 Register: FAN_1_SPEED Value: 5000 Register: FAN_2_SPEED Value: 5000 Register: TEMP_SENSOR_LEFT Value: 45 Register: TEMP_SENSOR_RIGHT Value: 40 Register: SCRATCH Value: 3721142801 root@localhost:~/fpga_module# Can easily be extended to support driving I2C/SMBus cores...etc.
About
Basic PCI FPGA driver interfaced from user mode via char device
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published