rohd 0.7.3
rohd: ^0.7.3 copied to clipboard
The Rapid Open Hardware Development (ROHD) framework, a framework for describing and verifying hardware.
0.7.3 #
- Recognize WebAssembly as a web target while retaining its 64-bit integer behavior.
- Isolate source-trace package configuration file I/O behind a native platform boundary.
- Allow typed clones and ports to rename structure fields derived from their parent name without rejecting their shape.
- Breaking:
cloneTyped,addTypedInput, andaddTypedInOutreject clones that change declared signal types, including nested types, or recursive shape, includingPayloadShapeMetadataformats, enum mappings, and typed-array codecs. - Breaking:
Module.addTypedInputnow preserves constant-containing structures passed asLogicby default, requiring driveable structured clones. SetpreserveStructuredConstants: falseto retain the previous flattened input. - Fix structured
FlipFlop<Logic>outputs supplied byoutputGeneratorto use structure-preserving logic, including unpacked arrays and packed input bridges. - Fix SystemVerilog generation for unnamed local typed arrays containing structures with live fields (https://github.com/intel/rohd/issues/763).
0.7.2 #
- Move the DevTools extension to the opt-in
rohd_live_debuggerpackage.
0.7.1 #
- Exclude independently published package sources and the DevTools and VS Code application sources from the ROHD pub.dev archive, while retaining the built DevTools extension and checkout-only workspace configuration.
- Avoid quadratic memory growth during SystemVerilog synthesis by sharing inline-expression lookup tables and remapping them only once during enum-port lowering, while preserving instance-specific net connections.
- Avoid repeated synthesis alias-list copies by reusing immutable snapshots and reading signal metadata without materializing aliases, including during array merges.
- Avoid quadratic SystemVerilog concat driver checks by indexing driver ownership once per optimization pass.
0.7.0 #
Breaking Changes #
FiniteStateMachineandStatenow require Dart enum state identifiers. Replace integer, string, or custom-object identifiers with enum members; update reset and transition targets accordingly.currentStateandnextStateare nowLogicEnumsignals (https://github.com/intel/rohd/pull/599).- Removed long-deprecated and obsolete APIs:
StateMachine,FF,IfBlock,ExternalModule,LogicValues,Logic.bit,valueInt,valueBigInt,hasValidValue,isFloating,LogicValue.length,LogicValue.bit, theLogicValue.from...constructors andLogicValue.from(iterable), global concatenation helpers, gateyoutput aliases includingAdd.out,getReceivers,getDrivers,getConditionals,FiniteStateMachine.clk,Pipeline.clk,Port,PairInterface.modify, thePairInterface.cloneconstructor,LogicStructure.bit,Module.unpreferredName,Module.isUnpreferred,Dumper,WaveDumper,SynthBuilder.top,SynthBuilder.getFileContents(),SynthesisResult.toFileContents()and backend overrides,CustomSystemVerilog,SystemVerilogSynthesizer.instantiationVerilogWithParameters,Module.generateSynth,ModuleTree.hierarchyJSON,NetlistSynthesisResult.toFileContents(), andSystemVerilogService.contentsByName. See the 0.7.0 migration guide for replacements. The legacySwizzlemodule andListconcatenation aliases remain available but are deprecated in favor ofConcat,concat, andrconcat.
Major Features #
- Added opt-in
exactMatchtoCaseandcasesfor SystemVerilog-style four-state matching in functional simulation, including exact X/Z matches in expressions and dynamic case items. Existing pessimistic behavior remains the default; generated SystemVerilog is unchanged. - Added type-safe [PairInterface] provider/consumer endpoints and role-specific module connection helpers, while preserving the existing untyped API (https://github.com/intel/rohd/issues/613).
- Added
TypedLogicArray<TLogic, TValue>for multidimensional arrays with fixed typed hardware elements and associated semantic values, including typed snapshots and ports, traversal, cloning, net support, and synthesis. Added shapedLogicValueArrayand codec-backedTypedLogicValueArray<TValue>values with nested construction, packedLogicValueinteroperability, and hardware-array assignment. ExistingLogicArray,LogicValueArray, and concrete array port APIs remain available as specializations (https://github.com/intel/rohd/pull/686). - Added
LogicEnum<T>hardware signals with explicit enum encodings, mapped member assignments, driveable cloning, and SystemVerilog enum generation (https://github.com/intel/rohd/pull/599). - Added compact FST waveform capture alongside VCD, with block-based reading and waveform query APIs for incremental access (https://github.com/intel/rohd/pull/671).
- Added SystemC generation, runtime support, and
SystemCServicefor generating and writing module artifacts. Generated SystemC uses a two-state representation and does not preserve X/Z semantics (https://github.com/intel/rohd/pull/662). - Added source tracing and FLC (File-Line-Column) sidecars for cross-probing signals and module instances between Dart source and generated SystemVerilog or SystemC, with an optional standalone HTML report (https://github.com/intel/rohd/pull/707).
- Added
rohd_hierarchy0.1.1 hierarchy query and netlist adapter APIs, and design-shell APIs usingSignalOccurrenceandHierarchyOccurrencehandles for hierarchy search and connectivity traversal (https://github.com/intel/rohd/pull/707, https://github.com/intel/rohd/pull/716). - Added the standalone ROHD Live Debugger with hierarchy browsing, signal inspection, connectivity traversal, source navigation, waveform access, and cross-probing over DTD and VM-service transports (https://github.com/intel/rohd/pull/736).
- Added
rohd-shell, a DTD-attached terminal client for hierarchy, port, signal, and fan-in/fan-out queries, JSON output, and cross-probe selections (https://github.com/intel/rohd/pull/736). - Added the
ModuleServiceAPI, theModuleServicesregistry,ArtifactProducingService,ModuleServiceArtifact,SystemVerilogService, andWaveformServicefor module-scoped generation, capture, and inspection. - Added
Module.dumpSystemVerilogandModule.dumpWavesconvenience methods.dumpSystemVerilog()returns in-memory SystemVerilog;dumpWaves()provides standard VCD capture and replaces the removedgenerateSynthandWaveDumperAPIs.
Improvements #
- Fixed SystemVerilog addition with carry to preserve the original width of inline operands, including bitwise complements and modulo expressions, and to emit a zero carry for zero-width operands.
- Added
nameparameters to theflopandmuxconvenience helpers;casesalready supports naming its generated result (https://github.com/intel/rohd/issues/517). - Added
concatandrconcatas the preferred concatenation APIs; the legacy aliases are deprecated (https://github.com/intel/rohd/issues/597). - Include current signal value and built hierarchy in
Logic.toString()diagnostic output (https://github.com/intel/rohd/issues/96). - Added LSB-first
Logic.splitandLogicValue.splithelpers for exact arbitrary-width chunking (https://github.com/intel/rohd/issues/236). - Warn on accidental non-negative integer truncation in
ConstandLogicValue.of, withallowTruncationfor intentional narrowing (https://github.com/intel/rohd/issues/142). - Added arbitrary-rank
TypedLogicArray.transpose, including concreteLogicArrayand net-array views with live reordered element connections (https://github.com/intel/rohd/issues/427). - Added exact
intandBigIntbase-two logarithm and power-of-two helpers, and migrated FSM state sizing away from floating-point logarithms. ROHD-HCL migration follows its next major-version change (https://github.com/intel/rohd/issues/508). - Warn when
Simulator.run()completes without registered or injected events (https://github.com/intel/rohd/issues/595). - Expanded zero-width
LogicandLogicValuecoverage across functional simulation, SystemVerilog/Icarus, SystemC, and Node; addedisEmptyconvenience getters while preserving empty-value composition (https://github.com/intel/rohd/issues/111). - Added X/Z optimism and pessimism regression coverage for combinational and sequential conditional controls (https://github.com/intel/rohd/issues/103).
- Expanded the SystemVerilog module-instantiation guide with external, inline, and custom non-inline
SystemVerilogexamples (https://github.com/intel/rohd/issues/430). - Name
Logic.abs()two's-complement intermediates and final values descriptively in generated output (https://github.com/intel/rohd/issues/608). - Allow concatenation and subset views to resolve as assignment receivers when safe, including nested partial writes without claiming unselected bits, and merge legal full packed-array/scalar assignments in generated SystemVerilog (https://github.com/intel/rohd/issues/530, https://github.com/intel/rohd/issues/553, and https://github.com/intel/rohd/issues/619).
- Fixed zero-width SystemC ports and constant bindings to use bindable placeholder types while preserving empty-value reads as zero, including address ports in single-register CSR blocks.
- Fixed
SimCompare.checkSystemCVectorto honor explicit clock vectors instead of silently replacing them with a free-running clock. Reusable SystemC executables acceptdrivenClockNames, and compiled cache keys distinguish clock modes. Automatic clocks remain available when vectors omit clock inputs. - Emit child-driven unpacked arrays as nets to avoid unknown values in Icarus 12.0, while retaining variable declarations for procedurally written arrays. Child-driven unpacked outputs use
output wire logicby default; explicit object-type configuration remains honored. - Fixed procedural reads of enum leaves in typed arrays to convert packed array selections back into the destination enum type.
- Added rank-zero
TypedLogicArray<T, V>construction with shape[], a checkedscalargetter, andfromScalarconnected views that preserve source ownership. Typed value arrays also support rank-zero snapshots, indexing, and reshaping. Typed ports and synthesis preserve the leaf width without introducing a phantom array index. - Added experimental
Module.addStructuredInterfaceandModule.addStructuredPairInterfacefor directional interface grouping. Multi-field input and output directions become typedLogicStructureports, singleton directions become direct prefixed ports, and inOuts remain individual ports. Read-only structured-interface bindings retain the source interface, internal clone, and actual directional ports.addInterfaceFromandaddPairInterfaceFromcontinue to register a provided target, whileaddInterfacePortsandaddPairInterfacePortsretain flat individual-port behavior. - Improved generated synthesis wiring across module boundaries and driver-name selection (https://github.com/intel/rohd/pull/726).
- Retain whole child-output buses when their slices feed temporary consumer wires, and connect order-preserving packed destinations as a whole rather than as a concatenation of their elements. Explicit split-output names and structure-aware wiring remain preserved. Independently declared, named structure fields can receive child outputs directly, avoiding redundant packed buses and field-slicing assignments in CSR hierarchies.
- Same-width
Logic.zeroExtendnow returns the original signal instead of creating a redundant extension (https://github.com/intel/rohd/pull/729). - Migrated
rohd_source_navigatorinto its package in preparation for independent publication (https://github.com/intel/rohd/pull/718). - Netlist JSON format is now
0.1.0, preserving enum types and encodings on retained netnames using Yosys-style attributes, including constant-driven enum uses (https://github.com/intel/rohd/pull/599). - Refined the typed-array hierarchy so
LogicArraydirectly specializesTypedLogicArray<Logic, LogicValue>, and strengthened customTypedLogicArraycloning to preserve runtime types, codecs, unpacked dimensions, and constructor-only naming prefixes without exposing them as public axis metadata (https://github.com/intel/rohd/pull/686). - Expanded
TypedLogicArraysupport for recursively nested typed and ordinary arrays, structures containing array fields, mixed packed/unpacked dimensions, structured net and inout ports, and recursive netlist type metadata. Fixed generated SystemVerilog for array-valued elements to use packed offsets consistent with declarations and module-port connections, avoiding invalid chained selections in Icarus and Verilator (https://github.com/intel/rohd/pull/686). - Preserved configured SystemVerilog output object types for nested arrays and added the opt-in
iverilogWorkaroundForUnpackedArrayVariablessetting for child-driven unpacked array variables that remain unknown in Icarus Verilog 12.0 (https://github.com/intel/rohd/pull/686). LogicArrayremains source-compatible for construction and operations. ItsvalueandpreviousValuenow return shape-carryingLogicValueArrayinstances, which remainLogicValuesubtypes; code relying on their exact concrete runtime types may observe this behavior change (https://github.com/intel/rohd/pull/686).- Added support for structures with constant leaves when their
clone()implementation produces driveable fields, preserving domain-specific constant structures through generic operations. - Integrated
LogicEnumwith generic operations. Enum mappings are preserved through typed operation results, enum members can be used ascaseskeys, and incompatible enum mappings are rejected. - Fixed generic operations to reject incompatible
LogicEnummappings inside structures and typed arrays, and to preserve mapped enum constant reset values in netlist register cells. Pipeline.get,PipelineStageInfo.get, andPipelineStageInfo.getAbsnow preserve each identifier's concrete type through stage reconstruction and SSA, allowing structures, typed arrays, enums, and scalar signals in one pipeline.ReadyValidPipelineretains its established multi-signal API and gains the same per-identifier typed access without separate payload pipeline classes.- Preserved aggregate structure assignment metadata through synthesis and netlist generation.
- Fixed SystemVerilog synthesis of internally computed packed logic assigned to packed-array outputs, retaining required intermediate declarations.
- Upgraded
Mux,FlipFlop,Passthrough,mux,flop,cases,selectIndex, andselectFromto preserve compatible concreteLogicsubtypes, including nestedLogicArrayandTypedLogicArrayboundaries. Removed the parallel structure-only operation APIs. - Migration: plain
ConstandLogicNetsources no longer infer driveable outputs for operations that construct hardware. Normalize the source once withLogic.from(...), for exampleflop(clk, Logic.from(Const(1)))ormux(sel, Logic.from(Const(1)), Logic.from(Const(0))). Use an operationoutputGeneratorwhen an explicit output representation is required, including mixed packed and structuredcasesbranches. - Migration: type-preserving operations on
TypedLogicArrayoperands now require the identicalvalueCodecinstance. Reuse a shared codec or cross an explicitpackedboundary to reinterpret compatible bits. - Migration: type-preserving operations reject structure operands with different
runtimeTypes, because the output takes the static type of the first operand. Clone the result withclone(name: ...)to keep a subclass type, for example in anegate()that returns the receiver's type, rather than returning a base class. - Added public
cloneTyped()andnamedTyped()conveniences for retaining a receiver's static type.Const.cloneTyped()remains a literal clone;Const.namedTyped()is rejected because a named alias must be driveable. - Added configurable waveform timescales, recording windows, and output overwrite policies (https://github.com/intel/rohd/pull/671).
- Added opt-in
DebugSessionsetup for source tracing, netlist and FLC services, and live waveform recording (https://github.com/intel/rohd/pull/707). - Expanded reusable
rohd_devtools_widgetscomponents for hierarchy browsing, signal formatting, bit expansion, overlays, help, capture, and cross-probing (https://github.com/intel/rohd/pull/736). - Added
rohd_waveform0.1.1 client APIs for hierarchy normalization, repository-backed waveform access, caching, readiness, streaming, computed signals, and sub-field/bit-slice waveforms (https://github.com/intel/rohd/pull/736).
Bug Fixes #
-
Avoid a circular-assignment assertion when merging connected net aliases makes a net-to-net connection redundant during synthesis.
-
Made file-free, retained VCD waveform capture available on web platforms for DartPad and other browser workflows (https://github.com/intel/rohd/issues/273).
-
Preserve four-state
zvalues through procedural assignments and muxes, including SystemVerilog’s bitwise merge behavior for unknown mux controls (https://github.com/intel/rohd/issues/570). -
Replaced per-wire simulator lifecycle subscriptions with a shared weak wire registry, so discarded elaborations no longer retain callbacks or degrade future simulation ticks (https://github.com/intel/rohd/issues/708).
-
Prevent truncation diagnostics from throwing on non-finite arithmetic intermediates in Node.
-
Fixed default [Case] and [CaseZ] handling of invalid item values: dynamic
xandzpatterns now drivex, while only literal constantzpatterns remain CaseZ wildcards (https://github.com/intel/rohd/issues/102). Opt-inCase.exactMatchinstead compares all four states exactly. -
Fixed downstream [Sequential] blocks to capture edges from upstream [Sequential] outputs during the same simulation tick after their producer completes all assignments, restoring clock-divider behavior and correct jointly driven async-reset release (https://github.com/intel/rohd/issues/191).
-
Omit zero-width ports and their connections from generated SystemVerilog definitions and instantiations, including conditional assignments nested in reset and branch bodies. SystemVerilog vector testbenches also omit scalar zero-width endpoint declarations, connections, stimulus, and checks (https://github.com/intel/rohd/issues/57).
-
Warn when [Sequential] combines
asyncResetwith a non-constantresetValuesdriver, which can infer independently timed async set and clear pins in synthesis (https://github.com/intel/rohd/issues/728). -
Fixed
LogicValuearithmetic and comparisons with directBigIntoperands at widths up to the native integer width, preserving unsigned sign-boundary semantics (https://github.com/intel/rohd/pull/319). -
SystemC implementation matching now includes internal signal declarations and child-module types, preventing distinct hierarchical implementations from being incorrectly merged.
-
Structured
Muxoutput generators now select leaf-by-leaf even when the operands have been widened toLogic, preserving typed layouts and avoiding raw-value writes through domain-specificputoverrides. -
SystemC generation now emits structured mux hierarchies instead of incorrectly treating them as inline scalar gates and omitting their drivers.
-
Fixed a netlist pass that could drop connections to module output ports (https://github.com/intel/rohd/pull/731).
-
Fixed
LogicValue.ofRadixStringround trips with empty separators and separators containing regular-expression metacharacters (https://github.com/intel/rohd/issues/722).
Issue Housekeeping #
- Transferred fixed-point support and DSP ergonomics to https://github.com/intel/rohd-hcl/issues/321 (https://github.com/intel/rohd/issues/470).
- Verified that clock/data interface-port registration order does not affect sequential capture (https://github.com/intel/rohd/issues/318).
- Superseded the legacy hierarchy-viewer refresh workflow with the Live Debugger's automatic waveform updates, resume backfill, and video snapshots (https://github.com/intel/rohd/issues/462).
- Closed stale issue reports whose requested behavior is already implemented, documented, or covered by regression tests:
- Conditional, simulator, and waveform behavior: https://github.com/intel/rohd/issues/10, https://github.com/intel/rohd/issues/161, https://github.com/intel/rohd/issues/162, https://github.com/intel/rohd/issues/167, https://github.com/intel/rohd/issues/191, https://github.com/intel/rohd/issues/313, https://github.com/intel/rohd/issues/396, https://github.com/intel/rohd/issues/446, and https://github.com/intel/rohd/issues/728.
- Synthesis, generated output, and navigation: https://github.com/intel/rohd/issues/57, https://github.com/intel/rohd/issues/102, https://github.com/intel/rohd/issues/239, https://github.com/intel/rohd/issues/424, https://github.com/intel/rohd/issues/464, https://github.com/intel/rohd/issues/488, https://github.com/intel/rohd/issues/523, https://github.com/intel/rohd/issues/524, https://github.com/intel/rohd/issues/530, https://github.com/intel/rohd/issues/544, https://github.com/intel/rohd/issues/547, https://github.com/intel/rohd/issues/549, https://github.com/intel/rohd/issues/553, https://github.com/intel/rohd/issues/577, https://github.com/intel/rohd/issues/591, https://github.com/intel/rohd/issues/596, https://github.com/intel/rohd/issues/610, https://github.com/intel/rohd/issues/613, https://github.com/intel/rohd/issues/619, and https://github.com/intel/rohd/issues/734.
- Project tooling and hierarchy: https://github.com/intel/rohd/issues/270, https://github.com/intel/rohd/issues/275, and https://github.com/intel/rohd/issues/647.
0.6.11 #
- Added
NetlistSynthesizerfor generating JSON netlists, with configurable synthesis passes, validation, and hierarchy support (https://github.com/intel/rohd/pull/675). - Fixed naming of nested arrays in typed structure ports during synthesis (https://github.com/intel/rohd/pull/698).
- Added
DuplicatePortNameExceptionfor duplicateInterfaceport names in all build modes, replacing an assertion that was disabled in release mode (https://github.com/intel/rohd/pull/694). - Added shared waveform data models and service APIs in the independently versioned
rohd_waveformpackage (https://github.com/intel/rohd/pull/681). - Added a shared signal value format registry for consistent formatting across DevTools views and snapshots (https://github.com/intel/rohd/pull/701).
- Fixed DevTools popup menu styling and interactions with Material UI (https://github.com/intel/rohd/pull/702).
- Prepared initial independent pub.dev releases of
rohd_hierarchy,rohd_waveform, androhd_devtools_widgets, each at 0.1.0. See the release guide for package-specific release and tagging conventions. - Allowed connected, equivalent
reservedandrenameablesignals with matching generated base names to share a declaration, including internal signals and port aliases, in generated outputs. Separate aliases may disappear and connected same-name reserved signals no longer cause naming errors; unrelated reserved-name collisions still fail (https://github.com/intel/rohd/pull/712). - Fixed illegal scalar connections to singleton unpacked-array inputs when inlining constants or live signals into generated SystemVerilog (https://github.com/intel/rohd/pull/714).
- Added targeted Verilator compilation and two-state vector simulation checks, including a
buildOnlymode, required in native CI and explicitly skipped locally when Verilator is unavailable (https://github.com/intel/rohd/pull/714). - Improved generated SystemVerilog to inline packed
Logic.assignSubsetconnections into submodule inputs (https://github.com/intel/rohd/pull/711). - Fixed a bug where isolated bit drivers could be lost beside collapsed ranges (https://github.com/intel/rohd/pull/711).
0.6.10 #
- Improved
Logic.replicate(1)and same-widthsignExtendto return the original signal, eliminating redundant replication modules and generated SystemVerilog (https://github.com/intel/rohd/pull/689). - Improved simulation performance and generated outputs by avoiding module creation for four-state-safe operations involving
Consts, zero shifts, and muxes with constant controls (https://github.com/intel/rohd/issues/429). - Enforced that
Constvalues cannot be changed throughputorinject, including through anotherLogicdriven by aConst(https://github.com/intel/rohd/issues/486). - Added per-
Constpreferred radix control for generated literals, normalizedConstnames to reflect their displayed radix, and enhancedLogicValue.toRadixStringto omit its width and radix decorator or digit separators (https://github.com/intel/rohd/issues/601). - Fixed a bug to prevent stack overflows when synthesizing designs with combinational loops (https://github.com/intel/rohd/pull/680).
- Improved generated SystemVerilog to collapse contiguous partial array and range assignments into packed slice assignments when safe (https://github.com/intel/rohd/pull/676).
- Added per-direction configuration of explicit or implicit object and data types for generated SystemVerilog ports. Defaults preserve the existing
input logic,output logic, andinout wiredeclarations (https://github.com/intel/rohd/pull/678, https://github.com/intel/rohd/pull/687). - Significantly enhanced ROHD DevTools with embedded and standalone VM connections, live hierarchy and signal inspection, filtering, snapshots and export, and cross-probe integration (https://github.com/intel/rohd/pull/665).
- Added the
rohd_hierarchypackage for compact hierarchy dictionaries, canonical occurrence addresses, hierarchy search, and netlist adapters (https://github.com/intel/rohd/pull/653). - Added the ROHD VS Code extension with context-aware snippets, Dart Tooling Daemon integration, and source navigation for cross-probing from ROHD viewers (https://github.com/intel/rohd/pull/670).
- Improved
Logic.getRangeandsliceon filledConsts to return direct constants instead of constructingBusSubsetmodules (https://github.com/intel/rohd/pull/677). - Improved generated SystemVerilog for concatenations to compact adjacent bit selections into legal slice expressions (https://github.com/intel/rohd/pull/674).
- Improved generated SystemVerilog to collapse a variety of intermediate
LogicArrays and net buses (e.g. from bit-blasting, aggregate connections,assignSubset) into inline concatenations on their consuming connections, eliminating unnecessary intermediate declarations,assigns, andnet_connects when it is safe to do so (https://github.com/intel/rohd/pull/663). - Centralized synthesizer naming so output names in different contexts are more consistent. Generated SystemVerilog signal and instance names may change in designs with name collisions, repeated constants, or mergeable intermediate signals, so tests or downstream scripts that match exact generated identifiers may need updates (https://github.com/intel/rohd/pull/652).
0.6.9 #
- Fixed a bug where unnamed or mergeable inOut loop-back connections on a single module could be incorrectly omitted from the generated SystemVerilog (https://github.com/intel/rohd/pull/655).
- Improved generated SystemVerilog to avoid duplicate constant declarations and preserve more naming context for
LogicStructureelements (https://github.com/intel/rohd/pull/650).
0.6.8 #
- Fixed a bug where constant assignments or tie-offs could be lost in certain rare scenarios in generated outputs (https://github.com/intel/rohd/pull/643).
- Fixed a bug where an unnamed connection between an output and inOut could be incorrectly pruned during SystemVerilog generation, causing confusing error messages (https://github.com/intel/rohd/pull/644).
- Fixed typos in various documentation, comments, tutorials, etc. (https://github.com/intel/rohd/pull/642).
0.6.7 #
- Significantly improved and simplified generated outputs (including SystemVerilog) by reducing unnecessary signal slicing and concatenation operations and leaving unconnected ports on module instantiations empty (https://github.com/intel/rohd/pull/638).
- Enhanced generated SystemVerilog to include annotated bit ranges in comments for concatenations, improving readability and debugability (https://github.com/intel/rohd/pull/627).
- Fixed a bug where, in some rare scenarios, partial array assignments could cause missing assignments in generated outputs (https://github.com/intel/rohd/pull/637).
- Fixed a bug where non-port
LogicStructures that contain elements which are ports could cause incorrect name selection in generated outputs (https://github.com/intel/rohd/pull/630). - Fixed a bug where
packedon output portLogicStructures being accessed both inside and outside of its parent module could cause build trace failures (https://github.com/intel/rohd/pull/631). - Fixed a bug where one-bit
LogicStructureports could generate illegal SystemVerilog with slicing (https://github.com/intel/rohd/pull/629). - Fixed a bug where
LogicValue.ofRadixStringcould return incorrect values for invalid inputs instead of throwing an exception (https://github.com/intel/rohd/issues/616). - Fixed behavior of
PairInterfaces so thatdriveOther,receiveOther, etc. properly apply recursively to sub-interfaces as well (https://github.com/intel/rohd/pull/628). Note that any code that relied on or expected this missing capability may need to be updated. - Deprecated
PairInterface.modifyin favor of usinguniquifyonPairInterface.addSubInterface(https://github.com/intel/rohd/pull/620). - Optimized simulation performance for some designs that have many glitchy
Conditionals (https://github.com/intel/rohd/pull/623). - Fixed an error message for SSA checks to be more helpful when illegal signal reuse occurs (https://github.com/intel/rohd/pull/625).
- Improved SSA error messages and debugability with additional hierarchy context (https://github.com/intel/rohd/pull/635).
- Added the
hierarchicalNameAPI toModuleto make it easier to get the full hierarchical name of a module instance (https://github.com/intel/rohd/pull/635). - Improved error messages for
WriteAfterReadExceptions to include a trace of conditional assignments involved in the execution (https://github.com/intel/rohd/pull/624).
0.6.6 #
- Added
cloneing forInterfaces andLogics and APIs that leverage the new capabilities (https://github.com/intel/rohd/pull/614).- Added a new expectation for
Interfaces andLogics (and derivative classes) to implement aclonefunction, to enable better APIs and reuse in various scenarios. - Deprecated
PairInterface.cloneconstructor in favor of newclonemethod onPairInterfaceinstances. - Added new
addTyped*functions onModulewhich will create acloneof original source for ports. This also supportsLogicStructures as ports. - Added new
addInterfacePortsandaddPairInterfacePortsfunctions onModulewhich wrapconnectIOandpairConnectIO, respectively, to make adding interfaces onModules easier and more consistent with creation of other ports.
- Added a new expectation for
- Updated naming of generated SystemVerilog signals (without
reservednames) that were part ofLogicStructures to include the name of the parent structure as a prefix. - Added
packedto baseLogic, which just returns itself, so that it can safely be called on anyLogicwithout first checking the type. - Fixed a bug related to module selection in the ROHD DevTools Extension (https://github.com/intel/rohd/pull/612).
0.6.5 #
- Fixed a bug where zero-value
LogicValues could result intoRadixString()returning output an emptyStringinstead of "0" (https://github.com/intel/rohd/pull/606).
0.6.4 #
- Added
setupActionstoFiniteStateMachineso that "common" or "default" actions can be grouped in one place instead of repeated in eachState(https://github.com/intel/rohd/pull/593). - Fixed a bug where
LogicStructure.previousValuewould actually return the currentvalueinstead of the previous one (https://github.com/intel/rohd/pull/565). - Fixed a bug in
Pipelinewhere cross-stage references could be incorrectly resolved (https://github.com/intel/rohd/pull/588). - Added
SynthBuilder.multito generate outputs (e.g. SystemVerilog) for multiple top-level modules simultaneously, with shared uniquification across them. DeprecatedgetFileContentsin favor ofgetSynthFileContentswhich providesSynthFileContentsobjects with more context than just theStringcontents. Also, improved modularity and organization of the "synth" infrastructure to make extension to additional generated outputs easier (https://github.com/intel/rohd/pull/598). - Fixed a bug where simulation memory usage could grow unboundedly when
Combinationals are used (https://github.com/intel/rohd/pull/602). - Enhanced
LogicValue.toRadixStringwith more options to make usage easier and more flexible (https://github.com/intel/rohd/pull/583). - Deprecated
Portin favor ofLogic.port, making the APIs more consistent (https://github.com/intel/rohd/pull/575).
0.6.3 #
- Fixed a bug where
withSetonLogicStructures could sometimes attempt to access the wrong range, causing unexpected exceptions (https://github.com/intel/rohd/pull/561). - Fixed a bug where
flopandFlipFlopwould generate SystemVerilog with an asynchronous reset even ifasyncResetwas set tofalse(https://github.com/intel/rohd/pull/564).
0.6.2 #
- Changed addition syntax for generated SystemVerilog to be prettier, while remaining lint-clean (https://github.com/intel/rohd/issues/444).
- Fixed a problem where end-of-simulation actions were not executed if an exception occurred during simulation (https://github.com/intel/rohd/pull/558).
- Fixed a bug where end-of-simulation actions were not cleared by
Simulator.reset(https://github.com/intel/rohd/issues/556).
0.6.1 #
- Added
Logic.namedand broadened API forcloneto make duplicating and naming signals more convenient and succinct (https://github.com/intel/rohd/pull/550). - Updated
LogicValue.toRadixStringto gracefully handle invalid values (xandz) for radix-10 strings, rather than throwing an exception (https://github.com/intel/rohd/pull/543). - Greatly improved error messaging when
Module.buildfails due to aPortRulesViolationException(https://github.com/intel/rohd/pull/541). - Fixed a bug where
Module.buildcould sometimes fail to properly trace hierarchy throughLogicStructures, cause false build failures (https://github.com/intel/rohd/pull/541). - Fixed a bug where
Combinational.ssacould sometimes fail to properly identify driver logic whenLogicStructures were used (https://github.com/intel/rohd/pull/540).
0.6.0 #
- Added
LogicNet,inOuts, andTriStateBufferto enable multi-directional wires, ports, and drivers. Includes support for "wire-only" operations supporting multiple drivers. - Deprecated
CustomSystemVerilogin favor ofSystemVerilog, which has similar functionality but supportsinOutports, and collapses all ports into a singleportsargument, as well as some other new features like custom definitions and parameter passthroughs. - Breaking:
ExternalSystemVerilogModuleandInlineSystemVerilognow extendSystemVeriloginstead ofCustomSystemVerilog, meaning theinstantiationVerilogAPI arguments have been modified. - Breaking: Increased minimum Dart SDK version to 3.0.0.
- Breaking:
Interface.connectIOhas an additional optional named argument forinOutTags. Implementations ofInterfacewhich overrideconnectIOwill need to be updated. - Fixed a bug where
expressionlessInputsmay not have been honored in non-inline custom SystemVerilog modules. - Fixed a bug where in some cases an
xorbetween twoLogicValues could cause an exception due to a false width mismatch. - Added better checking, error handling, and message when module hierarchy cannot be properly resolved (e.g. self-containing modules, modules within multiple hierarchies).
- Breaking: Updated APIs for
Synthesizer.synthesizeand down the stack to use aFunctionto calculate the instance type of a module instead of aMaplook-up table. - Added
srcConnectionsAPI toLogicto make it easier to trace drivers of subtypes ofLogicwhich contain multiple drivers. - Improved SystemVerilog generation to be more succinct for array to array assignments.
- Breaking:
Constconstructor updated so that specifiedwidthtakes precedence over the inherent width of a providedLogicValueval. - Added flags to support an
asyncResetoption in places where sequential reset automation was already present. - Breaking:
Sequentialhas new added strictness checking when triggers and non-triggers change simultaneously (in the sameSimulatortick) when it may be unpredictable how the hardware would synthesize or sample the inputs. In these scenarios,Sequentialwill interpret affected inputs asX, thus drivingXs on affected outputs instead of just picking an order. Descriptions that properly imply asynchronous resets are predictable and therefore unaffected. - Breaking: injected actions in the
Simulatornow occur in themainTickphase. This API will generally continue to work as expected and as it always has, but in some scenarios could slightly change the behavior of existing testbenches. - Added a new API
Simulator.injectEndOfTickActionwhich behaves similarly toSimulator.injectAction, except it registers the event to occur at the end of the tick rather than in the main phase. This is useful for some specific simulation situations like cosimulation, but not generally expected to be used for "normal" testbench development. - Breaking:
Simulator.runnow yields execution of the Dart event loop prior to beginning the simulation. This makes actions taken before starting the simulation more predictable, but may slightly change behavior in existing testbenches that relied on a potential delay. - Improved error and exception messages.
- Various performance enhancements.
- Fixed a bug where asynchronous events could sometimes show up late in generated waveforms from
WaveDumper. - Added support for negative edge triggers to
Sequential.multifor cases where synthesis may interpret an invertedposedgeas different from anegedge. - Fixed a bug where
resetValueswould not take effect inPipelines. - Fixed a bug where a multi-triggered
Sequentialmay not generate X's if one trigger is valid and another trigger is invalid. - Fixed bugs related to array signal discovery during the build process that, while they do not affect functionality or generated SystemVerilog, could provide incomplete information related to the contents of Modules from an API perspective.
- Fixed bugs where generated SystemVerilog could have parameter declaration or assignment sections that were empty, which is illegal SystemVerilog and would cause build errors (https://github.com/intel/rohd/pull/498).
- Fixed a bug where sometimes
getRangeonLogicStructures andLogicArrays could access the wrong set of signals (https://github.com/intel/rohd/pull/499). - Add the
assignSubsetAPI toLogicandLogicStructurewhich behave similarly to the already-present API inLogicArray(https://github.com/intel/rohd/pull/502). - Added convenience APIs for accessing the original sources external to a
Moduleforinputs andinOuts (https://github.com/intel/rohd/pull/503). - Added functionality to
LogicValueto enable conversion to and from various different radix strings. - Fixed bugs related to the handling of errors which cause the
Simulatorto halt (https://github.com/intel/rohd/pull/515).
0.5.3 #
- Added beta version of the ROHD DevTools Extension to aid in ROHD hardware debug by displaying module hierarchy and signal information visually and interactively (https://github.com/intel/rohd/pull/435).
- Added absolute value (
abs()) to bothLogicandLogicValue(https://github.com/intel/rohd/pull/442). - Added
assignSubsetfor performing an assignment on a subset of aLogicArray(https://github.com/intel/rohd/pull/456). - Made conditional assignments more optimistic with partially invalid values (https://github.com/intel/rohd/pull/459).
- Upgraded the simulator to support cancelling actions and registering actions at the current time (https://github.com/intel/rohd/pull/468).
- Fixed a bug where SystemVerilog generation could mishandle naming collisions between
Logics andLogicArrays (https://github.com/intel/rohd/pull/473). - Added new checks to help catch SystemVerilog generation issues in cases where built-in functionality is overridden.
0.5.2 #
- Added APIs for accessing indices of a
List<Logic>using anotherLogic:Logic.selectFromandList<Logic>.selectIndex(https://github.com/intel/rohd/pull/438). - Added/fixed support for compiling ROHD to JavaScript via bug fixes, compile-time arithmetic precision consideration, and testing (https://github.com/intel/rohd/pull/445).
- Added
isZerotoLogicValue. - Improved
Pipelineabstraction via bug fixes, better error checking, improved documentation, and new APIs (https://github.com/intel/rohd/pull/447). - Improved performance of construction of
Combinational.ssa(https://github.com/intel/rohd/pull/443). - Updated
Simulator.endSimulationAPI to return aFuturewhich completes once the simulation has ended (https://github.com/intel/rohd/pull/455). - Fixed bugs where certain non-synthesizable function calls on
LogicStructures (e.g. for verification) could add additional hardware (which did not affect functionality) and also cause unexpected behavior onpreviousValue(https://github.com/intel/rohd/issues/457). - Fixed bugs where certain APIs on
Logic(e.g.changed,previousValue) could have incorrect behavior after aSimulator.reset(https://github.com/intel/rohd/pull/458). - Fixed a bug where
LogicValue.clog2was inaccurate in rare scenarios. - Fixed a bug that caused a crash when comparing certain
LogicValues. - Fixed a bug where conversions between
BigInts andLogicValues could result in incorrect arithmetic operations. - Fixed a bug where
FiniteStateMachine-generated mermaid diagrams were missing "default next state" cases (https://github.com/intel/rohd/pull/454). - Allowed generated SystemVerilog to contain assignments to
z(floating) if explicitly connected to a constantz(https://github.com/intel/rohd/pull/441).
0.5.1 #
- Fixed bugs and improved controllability around naming of internal signals and collapsing of inlineable functionality, leading to significantly more readable generated SystemVerilog (https://github.com/intel/rohd/pull/439).
- Fixed a bug where identical module definitions with different reserved definition names would merge incorrectly in generated outputs(https://github.com/intel/rohd/issues/345).
- Improved organization of port and internal signal declarations in generated outputs.
- Fixed bugs where generated SystemVerilog could flag lint issues due to unsafe truncation of signals in cases like
+and<<(https://github.com/intel/rohd/pull/423).
0.5.0 #
- Added
LogicArrayfor N-dimensional packed and unpacked (and mixed) arrays. AddedLogicStructurefor grouping sets of related signals together in a convenient way (https://github.com/intel/rohd/pull/375). - Added a
ConditionalGroupwhich can group a collection of otherConditionals into oneConditionalobject. - Breaking: some APIs which previously returned
ConditionalAssignnow return aConditional, such as the<operator forLogic. - Updated
LogicValue.ofwhich now accepts adynamicinput and tries its best to build what you're looking for. AddedLogicValue.ofIterableto replace the oldLogicValue.of. - Added
previousValuetoLogicto make testbench and modelling easier for things like clock edge sampling. - Breaking: Modified the way
Combinationalsensitivities are implemented to improve performance and prevent some types of simulation/synthesis mismatch bugs. AddedCombinational.ssaas a method to safely build procedural logic.Combinationalwill now throw fatal exceptions in cases of "write after read" violations. (https://github.com/intel/rohd/pull/344) - Deprecated
getReceivers,getDrivers, andgetConditionalsin always blocks likeCombinationalandSequentialin favor of simpler and more efficient APIsreceivers,drivers, andconditionals. - Breaking: shorthand notation APIs for
incr,decr,mulAssign, anddivAssignhave been modified. - Replaced
IfBlockwithIf.block(deprecatedIfBlock). - Replaced
StateMachinewithFiniteStateMachine(deprecatedStateMachine). - Added support for multi-trigger (e.g. async reset) to abstractions like
FiniteStateMachineandPipeline. DeprecatedclkonFiniteStateMachineandPipeline. - Added ability to generate an FSM diagram in mermaid from a
FiniteStateMachine. - Added
PairInterfaceto make it easier to build and use simpleInterfaces. - Breaking:
connectIOinInterfacenow acceptsIterables instead of onlySets. - Improved numerous
Exceptions throughout to provide more specific information about errors and make them easier to catch and handle. - Upgraded some operations to avoid generating unnecessary hardware and SystemVerilog when configured to leave a signal unchanged (e.g.
getRange,concat,slice, etc.). - Added extension to generate randomized
LogicValues from aRandom. - Added replication operations to
LogicValueandLogic. - Added
equalsWithDontCaretoLogicValuefor comparisons where invalid bits are "don't-care". - Improved timestamps in generated outputs to make timezones apparent.
- Added the
flopfunction to constructFlipFlops in an easier way. - Added the
casesfunction to construct simpleCasestatements in an easier way. - Added APIs for configuring reset and reset values in
Sequentialand flip flops. - Added APIs for adding an enable to flip flops.
- Implemented a variety of performance enhancements for both build and simulation.
- Added
tryInputandtryOutputtoModuleandtryPorttoInterfaceto more easily handle conditionally present ports by leveraging Dart'snullsafety by returningnullif the port does not exist (instead of an exception). - Added
gtandgtetoLogicto make APIs more consistent. - Added
clog2toLogicValue. - Added
neqandpowto bothLogicandLogicValue. - Made
LogicValueimplementComparable, enabling things like sorting. - Enabled
WaveDumperto recursively create necessary directories for specified output paths. - Fixed a bug where ports could be created with an empty string as the name (https://github.com/intel/rohd/issues/281).
- Fixed a bug where generated SystemVerilog for arithmetic shift-right operations would sometimes be incorrect (https://github.com/intel/rohd/issues/295).
- Fixed a bug where
SynthBuilderwould not flag an error when run on aModulethat hadn't yet been built (https://github.com/intel/rohd/issues/246). - Disallowed signals from being connected directly to themselves in a combinational loop.
- Fixed a bug where non-synthesizable deposits on undriven signals could affect the generated output SystemVerilog by inserting a non-floating constant (https://github.com/intel/rohd/issues/254).
- Reinstated an accidentally removed exception for when signal width mismatch occurs (https://github.com/intel/rohd/issues/311).
- Fixed a bug where indexing a constant value could generate invalid SystemVerilog.
- Fixed a bug where constants and values that could be interpreted as negative 64-bit values would sometimes generate a
-sign in output SystemVerilog. - Fixed bugs so
Ifs that are illegally constructed throw anException(https://github.com/intel/rohd/issues/382). - Fixed a bug where
FiniteStateMachinecould create an inferred latch (https://github.com/intel/rohd/pull/390). - Fixed an issue where
Casestatements with multiple matches would throw anExceptioninstead of drivingxon the output, which could cause spurious crashes during glitch simulation (https://github.com/intel/rohd/issues/107). - Fixed a number of bugs related to logical, shift, math, and comparison operations related to width and sign interpretation.
- Fixed a bug where
CaseandCaseZwould not use the properly edge-sampled value inSequentialblocks (https://github.com/intel/rohd/issues/348). - Fixed bugs where logic that is driven by floating signals would sometimes drive
zinstead ofxon outputs (https://github.com/intel/rohd/issues/235).
0.4.2 #
- Added a GitHub Codespace to the repository as a quick way to experiment with ROHD without any environment setup.
- Added
Conditionaloperations similar to++x(incr),--x(decr),x *=(mulAssign), andx /=(divAssign) toLogic(https://github.com/intel/rohd/issues/141). - Fixed a bug where generated SystemVerilog could perform index accesses on single-bit signals (https://github.com/intel/rohd/issues/204).
- Expanded capability to construct single-
Conditionalmore succinctly viaElse.s(https://github.com/intel/rohd/issues/225). - Fixed a bug where sensitivities for
Combinationals were excessively pessimistic (https://github.com/intel/rohd/issues/233). - Improved exceptions raised by
Logic.putto include context on which signal was affected to help with debug (https://github.com/intel/rohd/pull/243). - Optimized
WaveDumperto only periodically write data to the VCD file to improve performance (https://github.com/intel/rohd/pull/242). - Made
endIndexingetRangean optional positional argument with a default value ofwidth, enabling a more convenient method for collecting all bits from some index until the end (https://github.com/intel/rohd/issues/228). - Added an exception in cases where names of interface ports are invalid/unsanitary (https://github.com/intel/rohd/issues/234).
- Upgraded the
Simulatorso that it wouldawaitasynchronous registered actions (https://github.com/intel/rohd/pull/252). - Deprecated
Logic.hasValidValueandLogic.isFloatingin favor of similar operations onLogic.value(https://github.com/intel/rohd/issues/198). - Added
Logic.isIn, which generates logic computing whether the signal is equal to any values in a (optionally mixed) list of constants or other signals (https://github.com/intel/rohd/issues/7).
0.4.1 #
- Fixed a bug where
Modules could have invalid names in generated SystemVerilog (https://github.com/intel/rohd/issues/138). - Fixed a bug where
Logics could have invalid names in generated SystemVerilog. - Added a feature allowing access of an index of a
Logicvia anotherLogic(https://github.com/intel/rohd/issues/153). - Fixed a bug where multiple sequential driver issues might not be caught during ROHD simulation (https://github.com/intel/rohd/issues/114).
- Improved
Exceptions in ROHD with better error messages and more granular exception types to make handling easier. - Improved generated SystemVerilog for sign extension and added capability for replication (https://github.com/intel/rohd/issues/157).
- Fixed a bug where signal names and module instance names could collide in generated SystemVerilog (https://github.com/intel/rohd/issues/205).
- Fixed a bug where in some cases modules might not be properly detected as sub-modules, leading to erroneous omission in generated outputs.
- Added capability to perform modulo and shift operations on
Logicvia a constant values (https://github.com/intel/rohd/pull/208). - Completed a fix for a bug where shifting a
Logicby a constant would throw an exception (https://github.com/intel/rohd/issues/170). - Modified the mechanism by which signal propagation occurs between
Logics so that connectedLogics share an underlying value-holding entity (https://github.com/intel/rohd/pull/199). One significant implication is that modifying a value of aLogic(e.g. viaputorinject) will now affect the value of both downstream and upstream connectedLogics instead of only downstream. This change also can significantly improve simulation performance in connection-heavy designs. Additionally, this change helps mitigate an issue where very long combinational chains of logic can hit the stack size limit (https://github.com/intel/rohd/issues/194). - Fixed a bug where large unsigned values on
LogicValues would convert to incorrectintvalues (https://github.com/intel/rohd/issues/212). - Added an extension on
BigIntto perform unsigned conversion to anint. - Added a capability to construct some
Conditionaltypes (e.g.If) which have only a singleConditionalmore succinctly (https://github.com/intel/rohd/issues/12). - Optimized some operations in
LogicValuefor performance (https://github.com/intel/rohd/pull/215). - Added a shortcut to create a 0-width
LogicValuecalledLogicValue.empty(https://github.com/intel/rohd/issues/202). - Fixed a bug where equal
LogicValues could have unequal hash codes (https://github.com/intel/rohd/issues/206). The fix also improved internal representation consistency forLogicValues, which could provide a significant performance improvement when wide values are used often.
0.4.0 #
- Fixed a bug where generated SystemVerilog could apply bit slicing to an expression (https://github.com/intel/rohd/issues/163).
- Fixed a bug where constant collapsing in SystemVerilog could erroneously remove constant assignments (https://github.com/intel/rohd/issues/159).
- Fixed a bug where
Combinationalcould have an incomplete sensitivity list causing incorrect simulation behavior (https://github.com/intel/rohd/issues/158). - Significantly improved simulation performance of
Combinational(https://github.com/intel/rohd/issues/106). - Upgraded and made lints more strict within ROHD, leading to some quality and documentation improvements.
- Added a feature allowing negative indexing to access relative to the end of a
LogicorLogicValue(https://github.com/intel/rohd/issues/99). - Breaking: Increased minimum Dart SDK version to 2.18.0.
- Fixed a bug when parsing unsigned large binary integers (https://github.com/intel/rohd/issues/183).
- Exposed
SynthesisResults from theSynthBuilder, making it easier to generate SystemVerilog modules into independent files (https://github.com/intel/rohd/issues/172). - Breaking: Renamed
topModuleNametodefinitionNameinExternalSystemVerilogModule(https://github.com/intel/rohd/issues/169). - Added the
muxfunction as a shortcut for building aMuxand returning the output of it (https://github.com/intel/rohd/issues/13). - Deprecation: Improved naming of ports on basic gates, old port names remain accessible but deprecated for now (https://github.com/intel/rohd/issues/135).
- Fixed list of reserved SystemVerilog keywords for sanitization (https://github.com/intel/rohd/issues/168).
0.3.2 #
- Added the
StateMachineabstraction for finite state machines. - Added support for the modulo
%operator. - Added ability to register actions to be executed at the end of the simulation.
- Modified the
WaveDumperto write to the.vcdfile asynchronously to improve simulation performance while waveform dumping is enabled (https://github.com/intel/rohd/issues/3)
0.3.1 #
- Fixed a bug (introduced in v0.3.0) where
WaveDumperdoesn't properly dump multi-bit values to VCD (https://github.com/intel/rohd/issues/129).
0.3.0 #
- Breaking: Merged
LogicValueandLogicValuesinto one type calledLogicValue. - Deprecation: Aligned
LogicValuetoLogicby renaminglengthtowidth. - Breaking:
Logic.putno longer acceptsList<LogicValue>; concatenate it together instead. - Deprecated
Logic.valueIntandLogic.valueBigInt; instead use equivalent functions onLogic.value. - Deprecated
biton bothLogicValueandLogic; instead just checkwidth. - Added ability in
LogicValue.toStringto decide whether or not to include the width annotation throughincludeWidthargument. - Fixed a bug related to zero-width construction of
LogicValues (https://github.com/intel/rohd/issues/90). - Fixed a bug where generated constants in SystemVerilog had no width, which can cause issues in some cases (e.g. concatenations) (https://github.com/intel/rohd/issues/89)
- Added capability to convert binary strings to ints with underscore separators using
bin(https://github.com/intel/rohd/issues/56). - Added
getRangeandreversedonLogicandsliceonLogicValueto improve consistency. - Using
slicein reverse-index order now reverses the order. - Added the ability to extend signals (e.g.
zeroExtendandsignExtend) on bothLogicandLogicValue(https://github.com/intel/rohd/issues/101). - Improved flexibility of
IfBlock. - Added
withSetonLogicValueandLogicto make it easier to assign subsets of signals and values (https://github.com/intel/rohd/issues/101). - Fixed a bug where 0-bit signals would sometimes improperly generate 0-bit constants in generated SystemVerilog (https://github.com/intel/rohd/issues/122).
- Added capability to reserve instance names, as well as provide and reserve definition names, for
Modules and their corresponding generated outputs.
0.2.0 #
- Updated implementation to avoid
Iterable.forEachto make debug easier. - Added
ofBooltoLogicValueandLogicValues(https://github.com/intel/rohd/issues/34). - Breaking: updated
InterfaceAPI so thatgetPortsreturns aMapfrom port names toLogicsignals instead of just a list, which makes it easier to work with when names are uniquified. - Breaking: removed
setPortfromInterface. UsesetPortsinstead. - Deprecated legacy global concatenation functions and replaced them with extensions on
Lists of certain types includingLogic,LogicValue, andLogicValues(https://github.com/intel/rohd/issues/70). - Breaking: renamed
ExternalModuletoExternalSystemVerilogModulesince it is specifically for SystemVerilog. - Breaking: made
topModuleNamea required named parameter inExternalSystemVerilogModuleto reduce confusion. - Added
simulationHasEndedbool toSimulator. - Updated
Simulatorto allow for injected actions to returnFutures which will beawaited. - Fixed bug where
Simulatorwarns about maximum simulation time when not appropriate. - Fixed a bug where
ExternalSystemVerilogModulecould enter infinite recursion. - Some improvements to
SimCompareto properly check values at the end of a tick and support a wider variety of values inVectors. - Fixed a bug related to
Sequentialsignal sampling where under certain scenarios, signals would pass through instead of being flopped (https://github.com/intel/rohd/issues/79). - Deprecated a number of
fromfunctions and replaced them withofto more closely follow Dart conventions (https://github.com/intel/rohd/issues/72).
0.1.2 #
- Optimized construction of
LogicValuesto improve performance - Renamed
FFtoSequential(markedFFas deprecated) (breaking: removedclksignal) - Added
Sequential.multifor multi-edge-triggered blocks (https://github.com/intel/rohd/issues/42) - Improved exception and error messages (https://github.com/intel/rohd/issues/64)
0.1.1 #
- Fix
Interface.connectIObug when no tags specified (https://github.com/intel/rohd/issues/38) - Fix uniquified
Interface.getPortsbug (https://github.com/intel/rohd/issues/59)
0.1.0 #
- The first formally versioned release of ROHD.