mirror of https://github.com/openXC7/prjxray.git
Fix comments.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
7eadae4ded
commit
204c6246ad
|
|
@ -4,4 +4,4 @@ BIT_IN=$1
|
|||
BITS=$(tempfile --suffix .bits)
|
||||
|
||||
${XRAY_BITREAD} -F $XRAY_ROI_FRAMES -o ${BITS} -z -y ${BIT_IN}
|
||||
${XRAY_DIR}/utils/bits2fasm.py ${BITS}
|
||||
${XRAY_BITS2FASM} ${BITS}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ echo "Design .fasm: $fasm_in"
|
|||
echo "Harness .bit: $bit_in"
|
||||
echo "Out .bit: $bit_out"
|
||||
|
||||
${XRAY_DIR}/utils/fasm2frames.py --sparse $fasm_in roi_partial.frm
|
||||
${XRAY_FASM2FRAMES} --sparse $fasm_in roi_partial.frm
|
||||
|
||||
${XRAY_TOOLS_DIR}/xc7patch \
|
||||
--part_name ${XRAY_PART} \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
# Break frames into WORD_SIZE bit words.
|
||||
WORD_SIZE_BITS = 32
|
||||
|
||||
# How many 32-bit words for frame in a 7-series bitstream?
|
||||
FRAME_WORD_COUNT = 101
|
||||
|
||||
def load_bitdata(f):
|
||||
""" Read bit file and return bitdata map.
|
||||
|
|
|
|||
|
|
@ -11,14 +11,10 @@ class FasmInconsistentBits(Exception):
|
|||
pass
|
||||
|
||||
|
||||
# How many 32-bit words for frame in a 7-series bitstream?
|
||||
FRAME_WORD_COUNT = 101
|
||||
|
||||
|
||||
def init_frame_at_address(frames, addr):
|
||||
'''Set given frame to 0 if not initialized '''
|
||||
if not addr in frames:
|
||||
frames[addr] = [0 for _i in range(FRAME_WORD_COUNT)]
|
||||
frames[addr] = [0 for _i in range(bitstream.FRAME_WORD_COUNT)]
|
||||
|
||||
|
||||
class FasmAssembler(object):
|
||||
|
|
|
|||
Loading…
Reference in New Issue