Fix some space issues.
This commit is contained in:
parent
b2ebc29c5a
commit
ca6af1c20d
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2003-2010 Stephen Williams (steve@icarus.com)
|
* Copyright (c) 2003-2011 Stephen Williams (steve@icarus.com)
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* and/or modify it in source code form under the terms of the GNU
|
||||||
|
|
@ -457,7 +457,7 @@ static int increment(ivl_expr_t e, int s, bool pre)
|
||||||
fprintf(vvp_out, " %%loadi/wr %d, 1, 0x1000; load 1.0\n", one);
|
fprintf(vvp_out, " %%loadi/wr %d, 1, 0x1000; load 1.0\n", one);
|
||||||
|
|
||||||
if (!pre) {
|
if (!pre) {
|
||||||
/*
|
/*
|
||||||
* post-increment must return the non-incremented value.
|
* post-increment must return the non-incremented value.
|
||||||
* Therefore, copy the current value in a new word and return
|
* Therefore, copy the current value in a new word and return
|
||||||
* it.
|
* it.
|
||||||
|
|
@ -496,7 +496,7 @@ static int decrement(ivl_expr_t e, int s, bool pre)
|
||||||
fprintf(vvp_out, " %%loadi/wr %d, 1, 0x1000; load 1.0\n", one);
|
fprintf(vvp_out, " %%loadi/wr %d, 1, 0x1000; load 1.0\n", one);
|
||||||
|
|
||||||
if (!pre) {
|
if (!pre) {
|
||||||
/*
|
/*
|
||||||
* post-decrement must return the non-incremented value.
|
* post-decrement must return the non-incremented value.
|
||||||
* Therefore, copy the current value in a new word and return
|
* Therefore, copy the current value in a new word and return
|
||||||
* it.
|
* it.
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ in your VHDL code, access packages like this:
|
||||||
use bar.test3.all;
|
use bar.test3.all;
|
||||||
|
|
||||||
The *.pkg files are just VHDL code containing only the package with
|
The *.pkg files are just VHDL code containing only the package with
|
||||||
the same name. When Icarus Verilog encounters the "use <lib>.<name>.*;"
|
the same name. When Icarus Verilog encounters the "use <lib>.<name>.*;"
|
||||||
statement, it looks for the <name>.pkg file in the <lib> library and
|
statement, it looks for the <name>.pkg file in the <lib> library and
|
||||||
parses that file to get the package header declared therin.
|
parses that file to get the package header declared therin.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue