Clock domain crossing checks

This commit is contained in:
Wilson Snyder
2010-01-07 16:41:19 -05:00
parent a03a540156
commit bf860b21d7
17 changed files with 907 additions and 32 deletions
+5 -3
View File
@@ -269,9 +269,11 @@ const char* V3OutFormatter::indentStr(int num) {
static char str[MAXSPACE+20];
char* cp = str;
if (num>MAXSPACE) num=MAXSPACE;
while (num>=8) {
*cp++ = '\t';
num -= 8;
if (!m_verilog) { // verilogPrefixedTree doesn't want tabs
while (num>=8) {
*cp++ = '\t';
num -= 8;
}
}
while (num>0) {
*cp++ = ' ';