blob: f05b8b952005a1315afdfabea4be7f8c6c133f65 [file] [log] [blame]
{{/*
A Hugo shortcode to link to an OTBN instruction.
Usage: {{< otbnInsnRef insn >}}
insn: Name of the instruction to link to (e.g. BN.WSRR).
*/}}
{{ $insn := .Get 0 }}
{{ $ref := lower (replace $insn "." "") }}
<a href='{{ ref . (printf "/hw/ip/otbn/doc/isa#%s" $ref) }}'>{{ $insn }}</a>