Fix space issues in the code.
This commit is contained in:
parent
78c6b3cad2
commit
21c60b38e1
2
parse.y
2
parse.y
|
|
@ -1563,7 +1563,7 @@ method_qualifier_opt
|
|||
;
|
||||
|
||||
modport_declaration /* IEEE1800-2012: A.2.9 */
|
||||
: K_modport
|
||||
: K_modport
|
||||
{ if (!pform_in_interface())
|
||||
yyerror(@1, "error: modport declarations are only allowed "
|
||||
"in interfaces.");
|
||||
|
|
|
|||
2
pform.h
2
pform.h
|
|
@ -226,7 +226,7 @@ extern void pform_start_modport_item(const struct vlltype&loc, const char*name);
|
|||
extern void pform_end_modport_item(const struct vlltype&loc);
|
||||
extern void pform_add_modport_port(const struct vlltype&loc,
|
||||
NetNet::PortType port_type,
|
||||
perm_string name, PExpr*expr);
|
||||
perm_string name, PExpr*expr);
|
||||
|
||||
/*
|
||||
* This creates an identifier aware of names that may have been
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ static PLI_INT32 to_vec_calltf(ICARUS_VPI_CONST PLI_BYTE8*name)
|
|||
vec_ptr->bval |= (bval << offset);
|
||||
|
||||
/* Calculate the new offset into the vector. */
|
||||
offset += (bits_to_copy > BPW) ? BPW : bits_to_copy;
|
||||
offset += (bits_to_copy > BPW) ? BPW : bits_to_copy;
|
||||
|
||||
/* If the new offset is past the end of the vector part
|
||||
* then the next vector part also needs to be used. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue