Skip to content

Commit

Permalink
Merge pull request #53 from casper-astro/jasper-documentation
Browse files Browse the repository at this point in the history
Put back in MAX_CHUNK_SIZE declaration
  • Loading branch information
jack-h committed Jul 27, 2018
2 parents 8463a5b + cd7c280 commit fe4ecf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion jasper_library/toolflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import verilog
from constraints import PortConstraint, ClockConstraint, GenClockConstraint, \
ClockGroupConstraint, InputDelayConstraint, OutputDelayConstraint, MaxDelayConstraint, \
MinDelayConstraint, FalsePathConstraint, MultiCycleConstraint, RawConstraint, MAX_IMAGE_CHUNK_SIZE
MinDelayConstraint, FalsePathConstraint, MultiCycleConstraint, RawConstraint
import castro
import helpers
import yaml
Expand All @@ -22,6 +22,9 @@
import pickle # Used to dump the pickle of the generated VerilogModule to the build directory for debugging
import struct # Used to append a binary checksum to a bitstream

#JH: I don't know what this is, but I suspect here is a better place for it than constraints.py
MAX_IMAGE_CHUNK_SIZE = 1988

try:
from katversion import get_version as kat_get_version
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion jasper_library/verilog.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ def update_attrs(self, name, value, comment=None):
:type value: Varies
:param comment: User-assisting comment string to attach to this parameter.
:type comment: String
"""
Update the attributes of this block.
"""
self.name = name.rstrip(' ')
self.value = value
if type(comment) is str:
Expand Down

0 comments on commit fe4ecf8

Please sign in to comment.