Grammar
This commit is contained in:
@@ -78,7 +78,7 @@ X Illegal property references:
|
|||||||
next
|
next
|
||||||
is this ever illegal?
|
is this ever illegal?
|
||||||
|
|
||||||
X If a node ispresent=true, and any of it's properties are a reference,
|
X If a node ispresent=true, and any of its properties are a reference,
|
||||||
then those references' ispresent shall also be true
|
then those references' ispresent shall also be true
|
||||||
This is an explicit clause in the spec: 5.3.1-i
|
This is an explicit clause in the spec: 5.3.1-i
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ enabled by compiling the following file along with your design:
|
|||||||
``buffer_reads``
|
``buffer_reads``
|
||||||
* Assigned value is a boolean.
|
* Assigned value is a boolean.
|
||||||
* If true, enables double-buffering of software reads of this register.
|
* If true, enables double-buffering of software reads of this register.
|
||||||
* The read buffer will load the register's field values when it's trigger
|
* The read buffer will load the register's field values when its trigger
|
||||||
event is asserted.
|
event is asserted.
|
||||||
* Unless specified otherwise, the buffer trigger occurs when the lowest
|
* Unless specified otherwise, the buffer trigger occurs when the lowest
|
||||||
address of the buffered register is read.
|
address of the buffered register is read.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class xBufferTrigger(UDPDefinition):
|
|||||||
# Trigger can reference a vector, but only if it is a single-bit
|
# Trigger can reference a vector, but only if it is a single-bit
|
||||||
if value.width != 1:
|
if value.width != 1:
|
||||||
self.msg.error(
|
self.msg.error(
|
||||||
"%s '%s' references %s '%s' but it's width is not 1"
|
"%s '%s' references %s '%s' but its width is not 1"
|
||||||
% (
|
% (
|
||||||
type(node.inst).__name__.lower(), node.inst_name,
|
type(node.inst).__name__.lower(), node.inst_name,
|
||||||
type(value.inst).__name__.lower(), value.inst_name
|
type(value.inst).__name__.lower(), value.inst_name
|
||||||
@@ -42,7 +42,7 @@ class xBufferTrigger(UDPDefinition):
|
|||||||
# Trigger can reference a property, but only if it is a single-bit
|
# Trigger can reference a property, but only if it is a single-bit
|
||||||
if value.width != 1:
|
if value.width != 1:
|
||||||
self.msg.error(
|
self.msg.error(
|
||||||
"%s '%s' references property '%s->%s' but it's width is not 1"
|
"%s '%s' references property '%s->%s' but its width is not 1"
|
||||||
% (
|
% (
|
||||||
type(node.inst).__name__.lower(), node.inst_name,
|
type(node.inst).__name__.lower(), node.inst_name,
|
||||||
value.node.inst_name, value.name,
|
value.node.inst_name, value.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user