Expand description
What Hardware mode makes of the editor’s text: which kind of design it is, and everything the Studio shows for it. One pure reading, so the panels, Execute and Compile can never disagree about what the file is.
Structs§
- Hardware
Report - Everything the Studio shows for a Hardware design.
- Section
- One labelled block of the result panel.
Enums§
- Compiled
- What Compile makes of a design.
- Hardware
Kind - The kinds of design Hardware mode reads, by what the text names.
Functions§
- analyze
- Read
contentas its kind of design. - compiled
- Compile
content: an English spec becomes a Rust runtime monitor; every other design says why there is nothing to compile, instead of blaming the design. - is_
verilog - Whether the editor holds Verilog: a line that opens a
module, or anendmodule— known from the first line of a module being written, beforekind_ofcan call it finished Verilog. - kind_of
- Which kind of design
contentis;Nonefor an empty editor. A spec is the kind whose field it names (pigeons:,registers:), whatever its values, so a mistake in one is reported as that spec’s mistake. - nothing_
to_ compile - Why Compile makes nothing for a design of
kind—Nonefor an English spec, which compiles to a Rust runtime monitor. The toolbar shows the same words on the disabled button.