Documentation
¶
Overview ¶
Copyright Consensys Software Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-License-Identifier: Apache-2.0
Copyright Consensys Software Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LimbsMap ¶
LimbsMap provides a high-level mapping of all registers across all modules before and after subdivision occurs.
type Map ¶
type Map[T register.Map] interface { fmt.Stringer // Field returns the underlying field configuration used for this mapping. // This includes the field bandwidth (i.e. number of bits available in // underlying field) and the maximum register width (i.e. width at which // registers are capped). Field() field.Config // Module returns register mapping information for the given module. Module(Id) T // ModuleOf returns register mapping information for the given module. ModuleOf(Name) T // Returns number of modules in this map Width() uint }
Map provides a mapping from module identifiers (or names) to register maps.