forked from opendacs/PyHCL
Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
laixz | c29d3f0532 |
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pyhcl.simulator import Simulator
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pyhcl.simulator import Simulator
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
class A(Module):
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from functools import reduce
|
||||
from typing import List
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
class Add(BlackBox):
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from functools import reduce
|
||||
|
||||
from pyhcl import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
W = 8 # 位宽
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pprint import pprint
|
||||
from time import time
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pyhcl.simulator import Simlite
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import random
|
||||
|
||||
from pyhcl import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from functools import reduce
|
||||
|
||||
from pyhcl import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
|
||||
# 读波形
|
||||
from injector.vcd_reader import VcdReader
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
|
||||
class ReaderBase:
|
||||
# 属性:excluded_sigs、inputs_only、replay_blocks、signal_values、signal_changes
|
||||
def __init__(self, replay_blocks, wave_file, excluded_sigs, inputs_only):
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
# from pyhcl import *
|
||||
# from pysv import sv, DataType, Reference
|
||||
# from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
|
|
4
main.py
4
main.py
|
@ -1,3 +1,7 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
class FullAdder(Module):
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import Type, Union, Dict
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
# Eventloop 是asyncio应用的核心,把一些异步函数注册到这个事件循环上,事件循环会循环执行这些函数,
|
||||
# 当执行到某个函数时,如果它正在等待I/O返回,如它正在进行网络请求,或者sleep操作,事件循环会暂停它的执行去执行其他的函数;
|
||||
# 当某个函数完成I/O后会恢复,下次循环到它的时候继续执行。
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import asyncio
|
||||
import time
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pyhcl.util.firrtltools import addfirrtlmodule
|
||||
from pyhcl.simulator import Simlite
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.simulator.simlite_firrtl import Simlite
|
||||
import random
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pyhcl.simulator import Simlite
|
||||
import random
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pyhcl.simulator import Simlite
|
||||
import random
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from pysv import sv, DataType, Reference
|
||||
from pyhcl.simulator import Simlite, DpiConfig
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.simulator.simlite_verilog import Simlite
|
||||
import random
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.simulator.simlite_verilog import Simlite
|
||||
import random
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.util.pysvtools import compile_and_binding_all_func
|
||||
from pyhcl.simulator.simlite_verilog import Simlite, DpiConfig
|
||||
from pysv import sv, DataType, Reference
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
class Clock_manager:
|
||||
_clocks = []
|
||||
_resets = []
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from __future__ import annotations
|
||||
from dataclasses import dataclass, field
|
||||
from typing import List
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
class DynamicContext:
|
||||
_lst = []
|
||||
_scopeId = [object()]
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from collections import deque
|
||||
from typing import Optional, Dict, Counter
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.core._utils import get_attr
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.core._repr import Node
|
||||
from pyhcl.core._utils import get_attr, has_attr
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import logging
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Union
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
def get_attr(obj, item):
|
||||
try:
|
||||
return object.__getattribute__(obj, item)
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.core._clock_manager import Clock_manager
|
||||
|
||||
class clockdomin:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pyhcl.core._cond import CondBlock, When, Elsewhen, Otherwise
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.core._clock_manager import Clock_manager
|
||||
|
||||
class DslChecker:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
from collections import Counter
|
||||
from typing import Dict
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from functools import reduce
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Type, Union
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from __future__ import annotations
|
||||
from dataclasses import dataclass, field, InitVar
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.core._dynamic_ctx import DynamicContext
|
||||
from pyhcl.core._utils import get_attr
|
||||
from pyhcl.core._repr import SubField
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from .module import Module
|
||||
|
||||
class ModuleP:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from abc import ABC, abstractclassmethod
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Union, Generator, List
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.ir import low_ir
|
||||
from pyhcl.core._dynamic_ctx import DynamicContext
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from abc import ABC
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import logging
|
||||
from abc import ABC
|
||||
from dataclasses import dataclass
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import math
|
||||
from collections import OrderedDict, defaultdict
|
||||
from copy import copy, deepcopy
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from .channel import AxiIOFactory
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
|
||||
"""
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl import *
|
||||
from enum import Enum
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
|
||||
class Pass:
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Dict, List
|
||||
from pyhcl.ir.low_ir import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
|
||||
from pyhcl.ir.low_ir import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List, Dict
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
from typing import List, Dict
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List
|
||||
|
||||
from numpy import isin
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import List, Dict
|
||||
from pyhcl.ir.low_ir import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import List, Dict
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from pyhcl.ir.low_ir import *
|
||||
from typing import List
|
||||
from dataclasses import dataclass
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from sqlite3 import connect
|
||||
from typing import List
|
||||
from pyhcl.ir.low_ir import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import math
|
||||
|
||||
from typing import List
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from dataclasses import dataclass
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.passes._pass import Pass
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from abc import ABC
|
||||
from pyhcl.ir.low_ir import *
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import logging
|
||||
import mmap
|
||||
import os
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import re
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) 2019 scutdig
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#include <verilated.h>
|
||||
#include <verilated_vcd_c.h>
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from abc import ABC, abstractclassmethod
|
||||
from typing import List
|
||||
from pyhcl.ir.low_ir import *
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from functools import reduce
|
||||
from pyhcl.ir.low_ir import *
|
||||
from pyhcl.ir.low_prim import *
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
|
||||
class TesterException(Exception):
|
||||
def __init__(self, message: str):
|
||||
self.message = message
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2019 scutdig
|
||||
# Licensed under the MIT license.
|
||||
|
||||
from typing import Dict, List
|
||||
from collections import OrderedDict
|
||||
from copy import deepcopy
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue