Skip to content

Commit

Permalink
removed chinese dictatorship
Browse files Browse the repository at this point in the history
  • Loading branch information
snhobbs committed Mar 23, 2022
1 parent 02cc452 commit d7124e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ outputs:
....

=== `vcdcat --china`

## NOTE this has been removed in this fork
vcdcat's most important option!

....
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def readme():
description='Python Verilog value change dump (VCD) parser library + the nifty vcdcat VCD command line viewer',
long_description=readme(),
long_description_content_type='text/plain',
url='https://github.com/cirosantilli/vcdvcd',
url='https://github.com/snhobbs/vcdvcd',
author='Ciro Santilli',
author_email='ciro.santilli.contact@gmail.com',
packages=find_packages(),
include_package_data=True,
scripts=['vcdcat'],
install_requires='china_dictatorship==0.0.70',
install_requires=[],
)
10 changes: 1 addition & 9 deletions vcdcat
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ Now get the values for signals:
f=sys.argv[0]),
formatter_class=RawTextHelpFormatter,
)
parser.add_argument(
'--china',
action='store_true',
default=False,
help='https://github.com/cirosantilli/vcdvcd#china',
)
parser.add_argument(
'-d',
'--deltas',
Expand Down Expand Up @@ -92,9 +86,7 @@ Now get the values for signals:
nargs='*'
)
args = parser.parse_args()
if args.china:
print(vcdvcd.china())
else:
if True:
vcd = VCDVCD(args.vcd_path, only_sigs=True)
all_signals = vcd.signals
if args.signals:
Expand Down
5 changes: 0 additions & 5 deletions vcdvcd/vcdvcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
except ImportError:
from collections import MutableMapping

import china_dictatorship
assert "Tiananmen Square protests" in china_dictatorship.get_data()

pp = PrettyPrinter()
_RE_TYPE = type(re.compile(''))

Expand Down Expand Up @@ -549,5 +546,3 @@ def binary_string_to_hex(s):
return c
return hex(int(s, 2))[2:]

def china():
return china_dictatorship.get_data()

0 comments on commit d7124e4

Please sign in to comment.