Skip to content

Commit

Permalink
Fix crd_doc generator to match changes in arch def
Browse files Browse the repository at this point in the history
interface
  • Loading branch information
dhower-qc committed Oct 15, 2024
1 parent 486e58f commit 44a9f06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backends/crd_doc/tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Dir.glob("#{$root}/arch/crd/*.yaml") do |f|
"gen:arch"
] do |t|
# TODO: schema validation
arch_def = arch_def_for("_")
arch_def = arch_def_for("_64")
crd = arch_def.crd(crd_name)
raise "No CRD defined for #{crd_name}" if crd.nil?

Expand Down
2 changes: 1 addition & 1 deletion backends/crd_doc/templates/crd.adoc.erb
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ RV64::
<%- if inst.key?("operation()") -%>
[source,idl,subs="specialchars,macros"]
----
<%= inst.operation_ast(crd.arch_def.idl_compiler).gen_adoc %>
<%= inst.operation_ast(crd.arch_def.symtab).gen_adoc %>
----
<%- end -%>

Expand Down

0 comments on commit 44a9f06

Please sign in to comment.