generate_csr_locations: documentation
This commit is contained in:
parent
a57b4ca91b
commit
92a140d736
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue