Skip to content

Commit 0fbbf50

Browse files
Added Sail operation to instruction appendix.
1 parent d4b3148 commit 0fbbf50

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

backends/portfolio/templates/inst_appendix.adoc.erb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,24 @@ RV64::
100100
----
101101
<% end -%>
102102

103+
<% if inst.key?("operation()") -%>
103104
==== IDL Operation
104105

105-
<% xlens = inst.base.nil? ? [32, 64] : [inst.base] -%>
106-
107-
<% if inst.key?("operation()") -%>
108106
[source,idl,subs="specialchars,macros"]
109107
----
110108
<%= inst.operation_ast(design.symtab).gen_adoc %>
111109
----
112110
<% end -%>
113111

112+
<% if inst.key?("sail()") -%>
113+
==== Sail Operation
114+
115+
[source,sail]
116+
----
117+
<%= inst["sail()"] %>
118+
----
119+
<% end -%>
120+
114121
==== Exceptions
115122

116123
<% exception_list = inst.reachable_exceptions_str(design.symtab) -%>

0 commit comments

Comments
 (0)