Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fe6073c1cc4f
Choose a base ref
...
head repository: whitequark/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9f617b2e8c58
Choose a head ref
  • 3 commits
  • 7 files changed
  • 1 contributor

Commits on Dec 15, 2018

  1. Copy the full SHA
    1c5d1be View commit details
  2. Copy the full SHA
    1e00822 View commit details
  3. Copy the full SHA
    9f617b2 View commit details
1 change: 0 additions & 1 deletion software/glasgow/applet/jtag/__init__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
from bitarray import bitarray
from migen import *
from migen.genlib.cdc import MultiReg
from migen.genlib.fsm import FSM

from .. import *
from ...support.pyrepl import *
1 change: 0 additions & 1 deletion software/glasgow/applet/jtag_pinout/__init__.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
import random
from functools import reduce
from migen import *
from migen.genlib.fsm import FSM
from migen.genlib.cdc import MultiReg

from .. import *
1 change: 0 additions & 1 deletion software/glasgow/applet/nand_flash/__init__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
import struct
from migen import *
from migen.genlib.cdc import MultiReg
from migen.genlib.fsm import FSM

from .. import *
from ...database.jedec import *
1 change: 0 additions & 1 deletion software/glasgow/applet/shugart_floppy/__init__.py
Original file line number Diff line number Diff line change
@@ -300,7 +300,6 @@
import crcmod
import math
from migen import *
from migen.genlib.fsm import FSM
from migen.genlib.cdc import MultiReg

from .. import *
6 changes: 5 additions & 1 deletion software/glasgow/gateware/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import functools
from migen import *
import os
if os.getenv("NMIGEN"):
from nmigen.compat import run_simulation
else:
from migen import run_simulation


__all__ = ["GatewareBuildError", "simulation_test"]
1 change: 0 additions & 1 deletion software/glasgow/gateware/analyzer.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
from migen import *
from migen.genlib.fifo import _FIFOInterface, SyncFIFOBuffered
from migen.genlib.coding import PriorityEncoder, PriorityDecoder
from migen.genlib.fsm import FSM


__all__ = ["EventSource", "EventAnalyzer", "TraceDecodingError", "TraceDecoder"]
12 changes: 8 additions & 4 deletions software/glasgow/gateware/uart.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
from migen import *
from migen.genlib.cdc import MultiReg
import os
if os.getenv("NMIGEN"):
from nmigen.compat import *
from nmigen.compat.genlib.cdc import MultiReg
else:
from migen import *
from migen.genlib.cdc import MultiReg


__all__ = ['UART', 'uart_bit_cyc']
@@ -299,8 +304,7 @@ def calc_parity(sig, kind):

class UARTTestbench(Module):
def __init__(self):
self.rx_t = TSTriple()
self.rx_t.i = Signal(reset=1)
self.rx_t = TSTriple(reset_i=1)
self.rx_i = self.rx_t.i

self.tx_t = TSTriple()