Skip to content

Commit

Permalink
Forgotten DependencyManager update
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Nov 20, 2024
1 parent 5693b0c commit f40f683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions coreblocks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ def elaborate(self, platform):

m.submodules.exception_information_register = self.exception_information_register

if self.connections.dependency_provided(FetchResumeKey()):
fetch_resume_fb, fetch_resume_unifiers = self.connections.get_dependency(FetchResumeKey())
fetch_resume = self.connections.get_optional_dependency(FetchResumeKey())
if fetch_resume is not None:
fetch_resume_fb, fetch_resume_unifiers = fetch_resume
m.submodules.fetch_resume_unifiers = ModuleConnector(**fetch_resume_unifiers)

m.submodules.fetch_resume_connector = ConnectTrans(fetch_resume_fb, self.frontend.resume_from_unsafe)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
amaranth-stubs @ git+https://github.com/kuznia-rdzeni/amaranth-stubs.git@edb302b001433edf4c8568190adc9bd0c0039f45
transactron @ git+https://github.com/kuznia-rdzeni/transactron.git@6893f9aced6a8671f34a5007894e72273162af1b
transactron @ git+https://github.com/kuznia-rdzeni/transactron.git@af951bcae97ab5c926581b76622bcb20702b4fdf
amaranth-yosys==0.40.0.0.post100
amaranth==0.5.3
dataclasses-json==0.6.3

0 comments on commit f40f683

Please sign in to comment.