generate_csr_locations: documentation

This commit is contained in:
Peter McGoron 2023-04-08 16:47:59 +00:00
parent a57b4ca91b
commit 92a140d736
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,12 @@
import json import json
import sys import sys
"""
This file takes the csr.json file output by LiteX and extracts all
CSRs that are handled by Upsilon directly. See the output file csr.json
for layout.
"""
class CSRGenerator: class CSRGenerator:
def __init__(self, json_file, registers, f): def __init__(self, json_file, registers, f):
self.registers = registers self.registers = registers