Repository Analysis

GlasgowEmbedded/glasgow

Scots Army Knife for electronics

22.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of GlasgowEmbedded/glasgow, a Python project with 2,190 GitHub stars. SynthScan v2.0 examined 70,924 lines of code across 357 source files, recording 843 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 22.5 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

22.5
Adjusted Score
22.5
Raw Score
100%
Time Factor
2026-08-09
Last Push
2.2K
Stars
Python
Language
70.9K
Lines of Code
357
Files
843
Pattern Hits
2026-08-09
Scan Date
0.14
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 50HIGH 0MEDIUM 55LOW 738

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 843 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators50 hits · 700 pts
SeverityFileLineSnippetContext
CRITICALsoftware/glasgow/applet/interface/swd_probe/__init__.py111 ctrl.i_stream.p.hdr.ap_ndp.eq(i_command.arg.transfer.ap_ndp),CODE
CRITICALsoftware/glasgow/applet/interface/swd_probe/__init__.py112 ctrl.i_stream.p.hdr.r_nw.eq(i_command.arg.transfer.r_nw),CODE
CRITICALsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py56 io_streamer.i.p.port.tck.oe.eq(1),CODE
CRITICALsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py57 io_streamer.i.p.port.tck.o.eq(phase[0]),CODE
CRITICALsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py58 io_streamer.i.p.port.tms.oe.eq(1),CODE
CRITICALsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py59 io_streamer.i.p.port.tms.o.eq(self.i_stream.p.tms.bit_select(phase[1:], 1)),CODE
CRITICALsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py60 io_streamer.i.p.port.tdi.oe.eq(1),CODE
CRITICALsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py61 io_streamer.i.p.port.tdi.o.eq(self.i_stream.p.tdi.bit_select(phase[1:], 1)),CODE
CRITICALsoftware/glasgow/applet/internal/memtest/__init__.py98 m.d.comb += self._bus.commands.p.addr.eq(curr_addr)CODE
CRITICALsoftware/glasgow/applet/internal/memtest/__init__.py99 m.d.comb += self._bus.commands.p.size.eq(self.block_size >> 1)CODE
CRITICALsoftware/glasgow/applet/internal/memtest/__init__.py119 m.d.comb += self._bus.commands.p.type.eq(octoram.Command.GlobalReset)CODE
CRITICALsoftware/glasgow/applet/internal/memtest/__init__.py132 m.d.comb += self._bus.commands.p.type.eq(octoram.Command.WriteMemRow)CODE
CRITICALsoftware/glasgow/applet/internal/memtest/__init__.py153 m.d.comb += self._bus.commands.p.type.eq(octoram.Command.ReadMemRow)CODE
CRITICALsoftware/glasgow/gateware/octoram.py48 m.d.comb += self.frames.p.port.cs.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/octoram.py57 m.d.comb += self.frames.p.port.clk.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/octoram.py65 self.frames.p.port.dq.oe.eq(1),CODE
CRITICALsoftware/glasgow/gateware/octoram.py70 self.frames.p.port.dqs.oe.eq(1),CODE
CRITICALsoftware/glasgow/gateware/octoram.py73 m.d.comb += self.frames.p.meta.epoch.eq(self.octets.p.epoch)CODE
CRITICALsoftware/glasgow/gateware/octoram.py75 m.d.comb += self.frames.p.meta.valid.eq(1)CODE
CRITICALsoftware/glasgow/gateware/iostream.py205 m.d.comb += io_buffer.i.p.meta.valid.eq(1)CODE
CRITICALsoftware/glasgow/gateware/iostream.py213 m.d.comb += io_buffer.i.p.meta.data.eq(self.i.p.meta)CODE
CRITICALsoftware/glasgow/gateware/mdio.py61 self.frames.p.port.mdc.o.eq(phase[0]),CODE
CRITICALsoftware/glasgow/gateware/mdio.py62 self.frames.p.port.mdc.oe.eq(1),CODE
CRITICALsoftware/glasgow/gateware/mdio.py63 self.frames.p.port.mdio.o.eq(seq_o.bit_select(phase[1:], 1)),CODE
CRITICALsoftware/glasgow/gateware/mdio.py64 self.frames.p.port.mdio.oe.eq(seq_oe.bit_select(phase[1:], 1)),CODE
CRITICALsoftware/glasgow/gateware/swd.py117 self.frames.p.port.swclk.oe.eq(1),CODE
CRITICALsoftware/glasgow/gateware/swd.py118 self.frames.p.port.swdio.o.eq(seq_o.bit_select(bitno, 1).replicate(2)),CODE
CRITICALsoftware/glasgow/gateware/swd.py119 self.frames.p.port.swdio.oe.eq(seq_oe.bit_select(bitno, 1)),CODE
CRITICALsoftware/glasgow/gateware/swd.py122 m.d.comb += self.frames.p.meta.type.eq(self.words.p.type)CODE
CRITICALsoftware/glasgow/gateware/swd.py123 m.d.comb += self.frames.p.meta.half.eq(~self.divisor[0])CODE
CRITICALsoftware/glasgow/gateware/qspi.py48 m.d.comb += self.frames.p.port.cs.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/qspi.py55 m.d.comb += self.frames.p.port.io0.oe.eq(0b1)CODE
CRITICALsoftware/glasgow/gateware/qspi.py57 m.d.comb += self.frames.p.port.io0.oe.eq(0b1)CODE
CRITICALsoftware/glasgow/gateware/qspi.py84 m.d.comb += self.frames.p.port.sck.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/qspi.py89 m.d.comb += self.frames.p.meta.oper.eq(self.octets.p.oper)CODE
CRITICALsoftware/glasgow/gateware/qspi.py90 m.d.comb += self.frames.p.meta.half.eq(~self.divisor[0])CODE
CRITICALsoftware/glasgow/gateware/spi.py92 m.d.comb += self.frames.p.port.cs.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/spi.py103 m.d.comb += self.frames.p.port.sck.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/spi.py111 m.d.comb += self.frames.p.port.copi.oe.eq(0b1)CODE
CRITICALsoftware/glasgow/gateware/spi.py113 m.d.comb += self.frames.p.port.copi.oe.eq(0b1)CODE
CRITICALsoftware/glasgow/gateware/spi.py118 m.d.comb += self.frames.p.meta.oper.eq(self.octets.p.oper)CODE
CRITICALsoftware/glasgow/gateware/spi.py119 m.d.comb += self.frames.p.meta.half.eq(~self.divisor[0])CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py43 m.d.comb += self.frames.p.port.tck.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py44 m.d.comb += self.frames.p.port.tck.o.eq(phase[-1])CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py46 m.d.comb += self.frames.p.port.tms.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py48 m.d.comb += self.frames.p.port.tms.o.eq(self.words.p.data.bit_select(offset, 1))CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py50 m.d.comb += self.frames.p.port.tms.o.eq(self.words.p.last & last)CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py52 m.d.comb += self.frames.p.port.tdi.oe.eq(1)CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py54 m.d.comb += self.frames.p.port.tdi.o.eq(self.words.p.data.bit_select(offset, 1))CODE
CRITICALsoftware/glasgow/gateware/jtag/probe.py59 m.d.comb += self.frames.p.port.tdi.o.eq(1)CODE
Unused Imports244 hits · 240 pts
SeverityFileLineSnippetContext
LOWdocs/manual/src/conf.py5CODE
LOWsoftware/glasgow/abstract.py1CODE
LOWsoftware/glasgow/abstract.py11CODE
LOWsoftware/glasgow/legacy.py1CODE
LOWsoftware/glasgow/cli.py22CODE
LOWsoftware/glasgow/cli.py33CODE
LOWsoftware/glasgow/hardware/assembly.py8CODE
LOWsoftware/glasgow/hardware/assembly.py23CODE
LOWsoftware/glasgow/hardware/platform/rev_c.py1CODE
LOWsoftware/glasgow/hardware/platform/rev_c.py3CODE
LOWsoftware/glasgow/hardware/platform/__init__.py4CODE
LOWsoftware/glasgow/hardware/platform/ice40.py1CODE
LOWsoftware/glasgow/hardware/platform/ecp5.py3CODE
LOWsoftware/glasgow/hardware/platform/rev_d.py1CODE
LOWsoftware/glasgow/hardware/platform/rev_d.py3CODE
LOWsoftware/glasgow/hardware/platform/rev_ab.py1CODE
LOWsoftware/glasgow/hardware/platform/rev_ab.py3CODE
LOWsoftware/glasgow/simulation/assembly.py5CODE
LOWsoftware/glasgow/protocol/onfi.py7CODE
LOWsoftware/glasgow/protocol/sfdp.py10CODE
LOWsoftware/glasgow/protocol/nbd.py10CODE
LOWsoftware/glasgow/applet/__init__.py18CODE
LOWsoftware/glasgow/applet/__init__.py398CODE
LOW…/applet/interface/i2c_initiator_deprecated/__init__.py4CODE
LOW…/applet/interface/i2c_initiator_deprecated/__init__.py8CODE
LOW…sgow/applet/interface/i2c_initiator_deprecated/test.py1CODE
LOW…are/glasgow/applet/interface/uart_analyzer/__init__.py5CODE
LOW…ware/glasgow/applet/interface/spi_analyzer/__init__.py3CODE
LOWsoftware/glasgow/applet/interface/spi_analyzer/test.py1CODE
LOW…are/glasgow/applet/interface/qspi_analyzer/__init__.py4CODE
LOWsoftware/glasgow/applet/interface/qspi_analyzer/test.py3CODE
LOW…re/glasgow/applet/interface/i2c_controller/__init__.py9CODE
LOW…re/glasgow/applet/interface/i2c_controller/__init__.py15CODE
LOW…ftware/glasgow/applet/interface/i2c_controller/test.py1CODE
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py62CODE
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py67CODE
LOWsoftware/glasgow/applet/interface/ps2_host/test.py1CODE
LOW…e/glasgow/applet/interface/qspi_controller/__init__.py5CODE
LOW…tware/glasgow/applet/interface/qspi_controller/test.py1CODE
LOW…tware/glasgow/applet/interface/jtag_pinout/__init__.py8CODE
LOWsoftware/glasgow/applet/interface/sbw_probe/__init__.py4CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py24CODE
LOWsoftware/glasgow/applet/interface/jtag_probe/test.py3CODE
LOWsoftware/glasgow/applet/interface/swd_probe/__init__.py15CODE
LOWsoftware/glasgow/applet/interface/swd_probe/__init__.py22CODE
LOWsoftware/glasgow/applet/interface/swd_probe/__init__.py23CODE
LOW…re/glasgow/applet/interface/spi_controller/__init__.py6CODE
LOW…ftware/glasgow/applet/interface/spi_controller/test.py1CODE
LOWsoftware/glasgow/applet/interface/analyzer/__init__.py4CODE
LOWsoftware/glasgow/applet/interface/analyzer/__init__.py9CODE
LOWsoftware/glasgow/applet/interface/analyzer/__init__.py10CODE
LOWsoftware/glasgow/applet/interface/analyzer/test.py1CODE
LOW…ftware/glasgow/applet/interface/i2c_target/__init__.py4CODE
LOW…ftware/glasgow/applet/interface/i2c_target/__init__.py8CODE
LOWsoftware/glasgow/applet/interface/i2c_target/test.py1CODE
LOWsoftware/glasgow/applet/interface/uart/__init__.py6CODE
LOWsoftware/glasgow/applet/interface/uart/__init__.py11CODE
LOWsoftware/glasgow/applet/interface/uart/test.py1CODE
LOWsoftware/glasgow/applet/interface/uart/test.py3CODE
LOWsoftware/glasgow/applet/video/hub75_output/__init__.py1CODE
184 more matches not shown…
Deep Nesting166 hits · 161 pts
SeverityFileLineSnippetContext
LOWsoftware/glasgow/abstract.py79CODE
LOWsoftware/glasgow/abstract.py118CODE
LOWsoftware/glasgow/legacy.py154CODE
LOWsoftware/glasgow/cli.py132CODE
LOWsoftware/glasgow/cli.py624CODE
LOWsoftware/glasgow/cli.py190CODE
LOWsoftware/glasgow/cli.py225CODE
LOWsoftware/glasgow/cli.py719CODE
LOWsoftware/glasgow/cli.py227CODE
LOWsoftware/glasgow/database/jedec.py6CODE
LOWsoftware/glasgow/hardware/device.py99CODE
LOWsoftware/glasgow/hardware/device.py242CODE
LOWsoftware/glasgow/hardware/device.py448CODE
LOWsoftware/glasgow/hardware/device.py450CODE
LOWsoftware/glasgow/hardware/toolchain.py182CODE
LOWsoftware/glasgow/hardware/toolchain.py322CODE
LOWsoftware/glasgow/hardware/platform/__init__.py99CODE
LOWsoftware/glasgow/hardware/platform/ecp5.py40CODE
LOWsoftware/glasgow/simulation/assembly.py139CODE
LOWsoftware/glasgow/simulation/assembly.py146CODE
LOWsoftware/glasgow/protocol/vgm.py161CODE
LOWsoftware/glasgow/protocol/jtag_svf.py101CODE
LOWsoftware/glasgow/protocol/jtag_svf.py182CODE
LOWsoftware/glasgow/protocol/jtag_svf.py216CODE
LOWsoftware/glasgow/protocol/jtag_svf.py266CODE
LOWsoftware/glasgow/protocol/jesd3.py88CODE
LOWsoftware/glasgow/protocol/gdb_remote.py121CODE
LOWsoftware/glasgow/protocol/nbd.py205CODE
LOWsoftware/glasgow/applet/__init__.py350CODE
LOWsoftware/glasgow/applet/__init__.py351CODE
LOWsoftware/glasgow/applet/__init__.py354CODE
LOWsoftware/glasgow/applet/_legacy.py197CODE
LOWsoftware/glasgow/applet/_legacy.py198CODE
LOWsoftware/glasgow/applet/_legacy.py200CODE
LOW…/applet/interface/i2c_initiator_deprecated/__init__.py25CODE
LOW…/applet/interface/i2c_initiator_deprecated/__init__.py329CODE
LOW…ware/glasgow/applet/interface/spi_analyzer/__init__.py130CODE
LOW…re/glasgow/applet/interface/i2c_controller/__init__.py45CODE
LOW…re/glasgow/applet/interface/i2c_controller/__init__.py416CODE
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py153CODE
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py235CODE
LOW…e/glasgow/applet/interface/qspi_controller/__init__.py44CODE
LOW…tware/glasgow/applet/interface/jtag_pinout/__init__.py35CODE
LOW…tware/glasgow/applet/interface/jtag_pinout/__init__.py303CODE
LOWsoftware/glasgow/applet/interface/sbw_probe/__init__.py87CODE
LOWsoftware/glasgow/applet/interface/sbw_probe/__init__.py220CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py118CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py508CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py538CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py592CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py757CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py833CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py867CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py1205CODE
LOWsoftware/glasgow/applet/interface/swd_probe/__init__.py96CODE
LOWsoftware/glasgow/applet/interface/jtag_svf/__init__.py64CODE
LOWsoftware/glasgow/applet/interface/jtag_svf/__init__.py92CODE
LOW…re/glasgow/applet/interface/spi_controller/__init__.py45CODE
LOWsoftware/glasgow/applet/interface/analyzer/__init__.py105CODE
LOW…ftware/glasgow/applet/interface/i2c_target/__init__.py126CODE
106 more matches not shown…
Modern Structural Boilerplate152 hits · 152 pts
SeverityFileLineSnippetContext
LOWsoftware/glasgow/abstract.py19__all__ = [CODE
LOWsoftware/glasgow/legacy.py8__all__ = [CODE
LOWsoftware/glasgow/database/arc.py4__all__ = ["devices"]CODE
LOWsoftware/glasgow/database/jedec.py3__all__ = ["jedec_mfg_name_from_bytes", "jedec_mfg_name_from_bank_num"]CODE
LOWsoftware/glasgow/database/xilinx/xc9500.py4__all__ = ["devices", "devices_by_idcode", "devices_by_name"]CODE
LOWsoftware/glasgow/database/xilinx/xpla3.py3__all__ = ["devices", "devices_by_idcode", "devices_by_name"]CODE
LOWsoftware/glasgow/database/xilinx/xc6s.py4__all__ = ["devices", "devices_by_idcode", "devices_by_name"]CODE
LOWsoftware/glasgow/database/xilinx/xc9500xl.py4__all__ = ["devices", "devices_by_idcode", "devices_by_name"]CODE
LOWsoftware/glasgow/database/microchip/avr.py4__all__ = ["devices", "devices_by_signature"]CODE
LOWsoftware/glasgow/database/ti/msp430.py5__all__ = ["devices", "devices_by_ids"]CODE
LOWsoftware/glasgow/hardware/build_plan.py17__all__ = ["GlasgowBuildPlan"]CODE
LOWsoftware/glasgow/hardware/build_plan.py20logger = logging.getLogger(__name__)CODE
LOWsoftware/glasgow/hardware/device.py24__all__ = ["GlasgowDevice", "FX2BootloaderDevice"]CODE
LOWsoftware/glasgow/hardware/device.py27logger = logging.getLogger(__name__)CODE
LOWsoftware/glasgow/hardware/assembly.py32__all__ = ["HardwareAssembly"]CODE
LOWsoftware/glasgow/hardware/assembly.py35logger = logging.getLogger(__name__)CODE
LOWsoftware/glasgow/hardware/toolchain.py20__all__ = ["ToolchainNotFound", "ToolOutOfDate", "Toolchain", "find_toolchain"]CODE
LOWsoftware/glasgow/hardware/toolchain.py23logger = logging.getLogger(__name__)CODE
LOWsoftware/glasgow/hardware/platform/rev_c.py6__all__ = ["GlasgowRevC0Platform", "GlasgowRevC123Platform"]CODE
LOWsoftware/glasgow/hardware/platform/__init__.py8__all__ = ["GlasgowPlatformPort", "GlasgowPlatform"]CODE
LOWsoftware/glasgow/hardware/platform/ice40.py7__all__ = ["GlasgowICE40Platform"]CODE
LOWsoftware/glasgow/hardware/platform/ecp5.py11__all__ = ["GlasgowECP5Platform"]CODE
LOWsoftware/glasgow/hardware/platform/rev_d.py6__all__ = ["GlasgowRevD0Platform"]CODE
LOWsoftware/glasgow/hardware/platform/rev_ab.py6__all__ = ["GlasgowRevABPlatform"]CODE
LOWsoftware/glasgow/simulation/assembly.py16__all__ = ["SimulationPipe", "SimulationRORegister", "SimulationRWRegister", "SimulationAssembly"]CODE
LOWsoftware/glasgow/simulation/assembly.py19logger = logging.getLogger(__name__)CODE
LOWsoftware/glasgow/protocol/bsdl.py27__all__ = ["BSDLParseError", "BSDLPortInfo", "BSDLScanCell", "BSDLDevice", "BSDLEntity"]CODE
LOWsoftware/glasgow/protocol/snoop.py9__all__ = ["SnoopDatalinkType", "SnoopPacket", "SnoopWriter", "SnoopReader"]CODE
LOWsoftware/glasgow/protocol/flashrom.py4__all__ = ["SerprogCommand", "SerprogBus"]CODE
LOWsoftware/glasgow/protocol/onfi.py10__all__ = ["ONFIParameters", "ONFIParameterError"]CODE
LOWsoftware/glasgow/protocol/vgm.py7__all__ = ["VGMStreamPlayer", "VGMStreamReader"]CODE
LOWsoftware/glasgow/protocol/jtag_svf.py12__all__ = ["SVFParser", "SVFEventHandler"]CODE
LOWsoftware/glasgow/protocol/jesd3.py8__all__ = ["JESD3Parser", "JESD3ParsingError", "JESD3Emitter"]CODE
LOWsoftware/glasgow/protocol/gdb_remote.py13__all__ = ["GDBRemote", "GDBRemoteError"]CODE
LOWsoftware/glasgow/protocol/sfdp.py21__all__ = ["SFDPCollection", "SFDPJEDECFlashParametersTable"]CODE
LOWsoftware/glasgow/protocol/nbd.py13__all__ = ["NBDServer"]CODE
LOWsoftware/glasgow/applet/__init__.py21__all__ = [CODE
LOWsoftware/glasgow/applet/_legacy.py21__all__ = [CODE
LOW…are/glasgow/applet/interface/uart_analyzer/__init__.py17__all__ = ["UARTAnalyzerError", "UARTAnalyzerInterface"]CODE
LOW…ware/glasgow/applet/interface/spi_analyzer/__init__.py15__all__ = ["SPIAnalyzerOverflow", "SPIAnalyzerComponent", "SPIAnalyzerApplet"]CODE
LOWsoftware/glasgow/applet/interface/spi_analyzer/test.py13logger = logging.getLogger(__name__)CODE
LOW…are/glasgow/applet/interface/qspi_analyzer/__init__.py16__all__ = ["QSPIAnalyzerOverflow", "QSPIAnalyzerComponent", "QSPIAnalyzerApplet"]CODE
LOWsoftware/glasgow/applet/interface/qspi_analyzer/test.py15logger = logging.getLogger(__name__)CODE
LOW…re/glasgow/applet/interface/i2c_controller/__init__.py20__all__ = ["I2CNotAcknowledged", "I2CControllerInterface", "PullState"]CODE
LOW…e/glasgow/applet/interface/qspi_controller/__init__.py17__all__ = ["QSPIControllerError", "QSPIControllerComponent", "QSPIControllerInterface"]CODE
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py37__all__ = ["JTAGProbeDriver", "JTAGState", "JTAGProbeError", "JTAGProbeStateTransitionError",CODE
LOWsoftware/glasgow/applet/interface/swd_probe/__init__.py30__all__ = ["SWDProbeException", "SWDProbeComponent", "SWDProbeInterface"]CODE
LOW…re/glasgow/applet/interface/spi_controller/__init__.py17__all__ = ["SPIControllerError", "SPIControllerComponent", "SPIControllerInterface"]CODE
LOWsoftware/glasgow/applet/radio/nrf24l01/__init__.py17__all__ = ["RadioNRF24L01Error", "RadioNRF24L01Interface"]CODE
LOWsoftware/glasgow/applet/memory/_25q/__init__.py19__all__ = ["Memory25QError", "Memory25QVerifyError", "Memory25QInterface"]CODE
LOWsoftware/glasgow/applet/memory/_25q/decode.py18__all__ = ["MemoryImage", "Memory25QDecoder"]CODE
LOWsoftware/glasgow/applet/memory/_25x/__init__.py21__all__ = ["Memory25xError", "Memory25xInterface"]CODE
LOWsoftware/glasgow/applet/memory/_25x/decode.py15__all__ = ["MemoryImage", "Memory25xDecoder"]CODE
LOWsoftware/glasgow/applet/memory/floppy/mfm.py4__all__ = ["SoftwareMFMDecoder"]CODE
LOWsoftware/glasgow/applet/memory/_24x/__init__.py18__all__ = ["Memory24xInterface", "I2CNotAcknowledged"]CODE
LOWsoftware/glasgow/applet/bridge/jtag_openocd/__init__.py10__all__ = []CODE
LOWsoftware/glasgow/applet/bridge/probe_rs/__init__.py21__all__ = ["StreamBuffer"]CODE
LOWsoftware/glasgow/applet/bridge/spi_flashrom/__init__.py8__all__ = []CODE
LOWsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py16__all__ = ["JTAGXVCComponent", "JTAGXVCInterface"]CODE
LOWsoftware/glasgow/applet/internal/memtest/__init__.py14__all__ = []CODE
92 more matches not shown…
Decorative Section Separators46 hits · 140 pts
SeverityFileLineSnippetContext
MEDIUMsoftware/glasgow/applet/interface/ps2_host/__init__.py7# -------------------COMMENT
MEDIUMsoftware/glasgow/applet/interface/ps2_host/__init__.py18# ---------------------COMMENT
MEDIUMsoftware/glasgow/applet/interface/ps2_host/__init__.py53# -----------------------COMMENT
MEDIUM…ftware/glasgow/applet/interface/jtag_probe/__init__.py5# ----------------COMMENT
MEDIUM…ftware/glasgow/applet/interface/jtag_probe/__init__.py13# ----------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/prom/__init__.py825# -------------------------------------------------------------------------------------------------STRING
MEDIUMsoftware/glasgow/applet/memory/onfi/__init__.py2# -------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py18# ----------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py41# ------------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py51# ------------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py107# ----------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py118# -----------------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py138# ---------------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py217# ------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py234# ------------COMMENT
MEDIUMsoftware/glasgow/applet/memory/floppy/__init__.py742# -------------------------------------------------------------------------------------------------STRING
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py100# ------------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py108# ------------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py117# ----------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py9# -----------------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py27# ----------------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py49# ----------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py61# ----------------------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py76# ----------------COMMENT
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py87# --------------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500/__init__.py503# -------------------------------------------------------------------------------------------------STRING
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py15# ----------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py45# -------------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py110# -----------------------------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py125# ---------------------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py161# -----------------------------------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py170# ------------------------------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py214# -----------COMMENT
MEDIUMsoftware/glasgow/applet/program/xc9500xl/__init__.py718# -------------------------------------------------------------------------------------------------STRING
MEDIUMsoftware/glasgow/applet/measure/prn_noise/__init__.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMsoftware/glasgow/applet/measure/prn_noise/__init__.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMsoftware/glasgow/arch/lpc.py9# -------------COMMENT
MEDIUMsoftware/glasgow/arch/lpc.py21# ---------------COMMENT
MEDIUMsoftware/glasgow/arch/lpc.py28# ----------COMMENT
MEDIUMsoftware/glasgow/arch/lpc.py35# -----------------COMMENT
MEDIUMsoftware/glasgow/gateware/fx2_crossbar.py11# -------------COMMENT
MEDIUMsoftware/glasgow/gateware/fx2_crossbar.py51# -------------------COMMENT
MEDIUMsoftware/glasgow/gateware/fx2_crossbar.py83# ----------------------COMMENT
MEDIUMsoftware/glasgow/gateware/fx2_crossbar.py119# ----------------------------------------------COMMENT
MEDIUMsoftware/tests/protocol/test_jtag_svf.py364# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMexamples/boilerplate.py119# -------------------------------------------------------------------------------------------------STRING
Over-Commented Block110 hits · 108 pts
SeverityFileLineSnippetContext
LOWfirmware/fx2/fpga.c1// Ref: iCE40 Programming and Configuration Technical NoteCOMMENT
LOWfirmware/fx2/glasgow_port.h1//! This module implements analog IO port features (Vsupply/Ialert/Vsense(alert) configuration,COMMENT
LOWfirmware/fx2/glasgow_port.h21/// of pull resistor GPIO expanders. The latter three actions involve I2C requests and may fail,COMMENT
LOWfirmware/fx2/glasgow_i2c.h1//! This module contains FX2 I2C address table.COMMENT
LOWfirmware/fx2/nvmem.c1// Ref: CAT24C256 EEPROM Serial 256-Kb I2C CAT24C256COMMENT
LOWfirmware/fx2/glasgow_fpga.h1//! This module contains all FPGA related functionality. This includes FPGA volatile andCOMMENT
LOWfirmware/fx2/glasgow_fpga.h21enum fpga_reg {COMMENT
LOWfirmware/fx2/glasgow_fpga.h41 FPGA_REG_ALERTS = 0x02,COMMENT
LOWfirmware/fx2/glasgow_fpga.h61/// memory is prepared for writing. Requires other interfaces to be in `EP_MODE_OFF`.COMMENT
LOWfirmware/fx2/glasgow_fpga.h81COMMENT
LOWfirmware/fx2/main.c1// Ref: CY7C68013A EZ-USB® FX2LP™ USB Microcontroller High-Speed USB Peripheral ControllerCOMMENT
LOWfirmware/fx2/main.c541 fpga_poll_cfg();COMMENT
LOWfirmware/fx2/glasgow_config.h1//! This module handles board configuration: factory, non-volatile, and volatile. All other modulesCOMMENT
LOWfirmware/fx2/glasgow_config.h41 /// Size of the manufacturer name field.COMMENT
LOWfirmware/fx2/glasgow_config.h61 CONFIG_FLAG_ADVERTISE_WEBUSB = 0b00000100,COMMENT
LOWfirmware/fx2/glasgow_config.h81 uint32_t bitstream_size;COMMENT
LOWfirmware/fx2/glasgow_config.h101 /// Manufacturer name. Set during factory flashing. Copied into USB string descriptors.COMMENT
LOWfirmware/fx2/glasgow_config.h121/// fails during the operation.COMMENT
LOWfirmware/fx2/port.c1// Ref: DAC081C08x 8-Bit Micro Power Digital-to-Analog Converter With An I2C-Compatible InterfaceCOMMENT
LOWfirmware/fx2/port.c21COMMENT
LOWfirmware/fx2/glasgow_smbus.h1//! This module implements the SMBus microcode engine.COMMENT
LOWfirmware/fx2/glasgow_smbus.h41/// will attempt to initialize every field of a union, erasing the values of all but the last fieldCOMMENT
LOWfirmware/fx2/glasgow_smbus.h61/// `SM_XFRM_WORD(func)` has to be used again if this is desired.COMMENT
LOWfirmware/fx2/glasgow_smbus.h81COMMENT
LOWfirmware/fx2/glasgow_smbus.h101///COMMENT
LOWfirmware/fx2/glasgow_mgmt.h1//! This module implements the USB EP1 management protocol. This is the protocol used for allCOMMENT
LOWfirmware/fx2/glasgow_mgmt.h21//! - `dd`: request data (opcode-specific)COMMENT
LOWfirmware/fx2/glasgow_mgmt.h141 // REQ_SET_VSUPPLYCOMMENT
LOWfirmware/fx2/glasgow_mgmt.h201 uint16_t smbus_read_data;COMMENT
LOWfirmware/fx2/glasgow_mgmt.h221/// result will be sent, and [alert_pending] is cleared.COMMENT
LOWfirmware/fx2/glasgow.h1//! The Glasgow Interface Explorer firmware is composed of multiple semi-independent modules, allCOMMENT
LOWfirmware/fx2/glasgow.h21//! cannot and do not make them fully independent (see [fpga_configure] for an explanation ofCOMMENT
LOWfirmware/fx2/glasgow.h41//! written in maximum length (512-byte) packets, except the last packet may be shorter.COMMENT
LOWfirmware/fx2/glasgow.h61#define PID_FX2 0x8613COMMENT
LOWfirmware/fx2/glasgow.h101/// GPIO definitionsCOMMENT
LOWfirmware/fx2/glasgow_gpio.h1//! This module contains FX2 GPIO related functionality. Mainly, it defines the FX2 GPIOCOMMENT
LOWfirmware/fx2/glasgow_gpio.h21#define PINA_FPGA_nRESET_REVCD 1COMMENT
LOWfirmware/fx2/glasgow_gpio.h41/// IO SFR bit definitions, exactly mirroring the table above.COMMENT
LOWfirmware/fx2/glasgow_gpio.h61#define IO_nOEQ_REVAB IO_D(PIND_nOEQ_REVAB)COMMENT
LOWsoftware/pyproject.toml21requires-python = ">=3.13, <4"COMMENT
LOWsoftware/pyproject.toml41 # `fx2` is effectively maintained together with Glasgow. It uses SemVer, and keeps backwardCOMMENT
LOWsoftware/glasgow/hardware/assembly.py41# the following (bullshit) justification:COMMENT
LOWsoftware/glasgow/hardware/assembly.py61COMMENT
LOWsoftware/glasgow/hardware/assembly.py341 self._logger.trace(f"OUT pipe {self._out_interface}: write pushback")COMMENT
LOWsoftware/glasgow/hardware/assembly.py361 # `_out_packet_size * _packets_per_xfer`. In this case, _slice_packet always returnsCOMMENT
LOWsoftware/glasgow/hardware/toolchain_nix.txt1# When configured, this mechanism skips the "load Yosys/nextpnr and all of their data files"COMMENT
LOWsoftware/glasgow/protocol/bsdl.py1# Ref: IEEE 1149.1-2013 - IEEE Standard for Test Access Port and Boundary-Scan ArchitectureCOMMENT
LOWsoftware/glasgow/protocol/gdb_remote.py221 #COMMENT
LOWsoftware/glasgow/protocol/gdb_remote.py301COMMENT
LOWsoftware/glasgow/protocol/nbd.py201 await self._send32(status)COMMENT
LOW…are/glasgow/applet/interface/qspi_analyzer/__init__.py41 m.submodules.io_buffer = io_buffer = io.Buffer("i", self._ports.io)COMMENT
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py1# Ref: IBM PS/2 Hardware Technical Reference ­- Keyboard and Auxiliary Device ControllerCOMMENT
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py21# that the protocol is byte-oriented. This is, essentially, false. The protocol is packet-oriented,COMMENT
LOWsoftware/glasgow/applet/interface/ps2_host/__init__.py41# similar hacks.COMMENT
LOW…ftware/glasgow/applet/interface/jtag_probe/__init__.py1# Ref: IEEE Std 1149.1-2001COMMENT
LOWsoftware/glasgow/applet/memory/onfi/__init__.py1# Memory organizationCOMMENT
LOWsoftware/glasgow/applet/memory/onfi/__init__.py21#COMMENT
LOWsoftware/glasgow/applet/memory/onfi/__init__.py41# The row address bits can be separated, from least to most significant, into page index, blockCOMMENT
LOWsoftware/glasgow/applet/memory/onfi/__init__.py61#COMMENT
LOWsoftware/glasgow/applet/memory/floppy/__init__.py1# Ref: INTEL 82077AA CHMOS SINGLE-CHIP FLOPPY DISK CONTROLLERCOMMENT
50 more matches not shown…
Hyper-Verbose Identifiers44 hits · 44 pts
SeverityFileLineSnippetContext
LOWsoftware/glasgow/cli.py162 def parse_known_intermixed_args(self, args=None, namespace=None):CODE
LOWsoftware/glasgow/database/jedec.py6def jedec_mfg_name_from_bytes(mfg_ids):CODE
LOWsoftware/glasgow/database/jedec.py21def jedec_mfg_name_from_bank_num(bank, mfg_num):CODE
LOWsoftware/glasgow/database/jedec.py1993def _jedec_update_mfg_from_pdf():CODE
LOWsoftware/glasgow/protocol/gdb_remote.py88 async def target_set_software_breakpt(self, address: int, kind: int):CODE
LOWsoftware/glasgow/protocol/gdb_remote.py97 async def target_clear_software_breakpt(self, address: int, kind: int):CODE
LOWsoftware/glasgow/protocol/gdb_remote.py114 async def target_clear_instr_breakpt(self, address: int, kind: int):CODE
LOWsoftware/glasgow/protocol/nbd.py152 async def _fixed_newstyle_negotiation(self):CODE
LOWsoftware/glasgow/applet/__init__.py139 def _get_argparser_for_sphinx(cls, name):CODE
LOWsoftware/glasgow/applet/__init__.py278 def _get_argparser_for_sphinx(cls, name):CODE
LOWsoftware/glasgow/applet/memory/_25q/__init__.py162 async def _execute_data_operation_prologue(self, address: int):CODE
LOWsoftware/glasgow/applet/memory/_25q/__init__.py559 def __add_initialize_arguments(cls, parser):STRING
LOWsoftware/glasgow/applet/memory/_25q/test.py100 async def test_api_program_data_aligned(self, applet: Memory25QApplet):CODE
LOWsoftware/glasgow/applet/memory/_25q/test.py109 async def test_api_program_data_unaligned(self, applet: Memory25QApplet):CODE
LOWsoftware/glasgow/applet/memory/_25x/__init__.py78 async def read_manufacturer_device_id(self):CODE
LOWsoftware/glasgow/applet/memory/_25x/__init__.py83 async def read_manufacturer_long_device_id(self):CODE
LOWsoftware/glasgow/applet/sensor/scd30/__init__.py132 async def get_auto_self_calibration(self) -> bool:CODE
LOWsoftware/glasgow/applet/sensor/scd30/__init__.py137 async def set_auto_self_calibration(self, enabled: bool):CODE
LOWsoftware/glasgow/applet/sensor/scd30/__init__.py163 async def get_altitude_compensation(self) -> int:CODE
LOWsoftware/glasgow/applet/sensor/scd30/__init__.py168 async def set_altitude_compensation(self, altitude_m: int):CODE
LOWsoftware/glasgow/applet/program/avr/__init__.py96 async def read_program_memory_range(self, addresses):CODE
LOWsoftware/glasgow/applet/program/avr/__init__.py104 async def write_program_memory_page(self, address):CODE
LOWsoftware/glasgow/applet/program/avr/__init__.py107 async def write_program_memory_range(self, address, chunk, page_size):CODE
LOWsoftware/glasgow/applet/program/avr/spi/__init__.py142 async def load_extended_address_byte(self, address):CODE
LOWsoftware/glasgow/applet/program/avr/spi/__init__.py169 async def write_program_memory_page(self, address):CODE
LOWsoftware/glasgow/applet/program/ice40_sram/test.py26 async def test_hardware_without_done(self, applet: ProgramICE40SRAMApplet):CODE
LOWsoftware/glasgow/applet/program/mec16xx/__init__.py195 async def _flash_wait_for_data_not_full(self, fail_msg="Failure detected"):CODE
LOWsoftware/glasgow/applet/program/mec16xx/__init__.py327 async def _eeprom_wait_for_not_busy(self, fail_msg="Failure detected"):CODE
LOWsoftware/glasgow/applet/program/mec16xx/__init__.py338 async def _eeprom_wait_for_data_not_full(self, fail_msg="Failure detected"):CODE
LOWsoftware/glasgow/applet/debug/mips/__init__.py227 async def _check_for_debug_interrupt(self):CODE
LOWsoftware/glasgow/applet/debug/mips/__init__.py715 async def target_set_software_breakpt(self, address, kind):CODE
LOWsoftware/glasgow/applet/debug/mips/__init__.py728 async def target_clear_software_breakpt(self, address, kind):CODE
LOWsoftware/glasgow/applet/debug/mips/__init__.py748 async def target_clear_instr_breakpt(self, address, kind):CODE
LOWsoftware/glasgow/applet/debug/arm/arm7/__init__.py1276 async def target_set_software_breakpt(self, address: int, kind: int):STRING
LOWsoftware/glasgow/applet/debug/arm/arm7/__init__.py1282 async def target_clear_software_breakpt(self, address: int, kind: int):STRING
LOWsoftware/glasgow/applet/debug/arm/arm7/__init__.py1294 async def target_clear_instr_breakpt(self, address: int, kind: int):STRING
LOWsoftware/glasgow/support/plugin.py16def _requirements_for_optional_dependencies(distribution, depencencies):CODE
LOWsoftware/glasgow/support/plugin.py45def _install_command_for_requirements(requirements):CODE
LOWsoftware/glasgow/support/usb/webusb.py109 def _process_disconnect_event(self, event):CODE
LOWsoftware/glasgow/support/usb/webusb.py171 async def select_alternate_interface(self, interface: int, setting: int):CODE
LOWsoftware/glasgow/support/usb/__init__.py189 async def select_alternate_interface(self, interface: int, setting: int):CODE
LOWsoftware/glasgow/support/usb/libusb1.py259 async def select_alternate_interface(self, interface: int, setting: int):CODE
LOWsoftware/tests/protocol/test_jtag_svf.py148 def test_hir_sir_tir_hdr_sdr_tdr(self):CODE
LOWsoftware/tests/gateware/test_iostream.py29 async def destination_signal_driver_tb(ctx):CODE
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMsoftware/glasgow/hardware/toolchain.py307 # version metadata. This is less robust than hashing every tool component, but it's notCOMMENT
MEDIUMsoftware/glasgow/protocol/gdb_remote.py315 # require that and we want debugging to be as seamless as possible.COMMENT
MEDIUMsoftware/glasgow/applet/interface/ps2_host/__init__.py32# problem, but are not completely robust when combined with variable length responses and packetsCOMMENT
MEDIUMsoftware/glasgow/applet/memory/_25q/__init__.py574 # in a background of poor signal integrity (e.g. a SOIC clip plus the official harness).STRING
MEDIUMsoftware/glasgow/applet/audio/yamaha_opx/__init__.py688 # result in robust playback. It appears that 36 is the real latency number.COMMENT
MEDIUMsoftware/glasgow/gateware/fx2_crossbar.py75# enable writes to the FPGA-side FIFO. Essentially, the FPGA-side FIFO should be driven byCOMMENT
Excessive Try-Catch Wrapping14 hits · 15 pts
SeverityFileLineSnippetContext
LOWsoftware/glasgow/hardware/device.py263 except Exception as e:CODE
LOWsoftware/glasgow/protocol/gdb_remote.py459 except Exception as e:CODE
LOWsoftware/glasgow/applet/_legacy.py225 except Exception as e:CODE
MEDIUMsoftware/glasgow/applet/_legacy.py217def run_test():CODE
LOWsoftware/glasgow/applet/bridge/jtag_openocd/__init__.py53 except Exception:CODE
LOWsoftware/glasgow/applet/audio/yamaha_opx/__init__.py958 except Exception as error:CODE
LOWsoftware/glasgow/applet/debug/arm/arm7/test.py214 except Exception as e:CODE
LOWsoftware/glasgow/support/bits.py214 except Exception:CODE
LOWsoftware/glasgow/support/bits.py476 except Exception:CODE
LOWsoftware/glasgow/support/bits.py524 except Exception:CODE
LOWsoftware/glasgow/support/asyncio.py15 except Exception as exn:CODE
LOWsoftware/glasgow/support/plugin.py125 except Exception as exn:CODE
LOWsoftware/glasgow/support/os_network.py66 except Exception as exc:CODE
LOWsoftware/tests/gateware/test_swd.py97 except Exception as exn:CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMfirmware/fx2/docker.sh29 # Create a user and a group with the UID/GID of the caller.COMMENT
MEDIUMsoftware/glasgow/hardware/platform/__init__.py107 # Create an inner buffer of the same type driving `io_port`.COMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWsoftware/glasgow/applet/bridge/jtag_xvc/__init__.py196CODE
LOW…tware/glasgow/applet/program/stusb4500_nvm/__init__.py73CODE
LOW…tware/glasgow/applet/program/stusb4500_nvm/__init__.py78CODE
LOW…tware/glasgow/applet/program/stusb4500_nvm/__init__.py84CODE
LOW…tware/glasgow/applet/program/stusb4500_nvm/__init__.py96CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWfirmware/fx2/fpga.c531 // TODO: implement revD NVM loadCOMMENT
LOWfirmware/fx2/nvmem.c126 // TODO: implement revD bitstream writeCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsoftware/glasgow/hardware/toolchain.py230 # Check if we're dealing with an installed Yosys binary, where the share filesCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexamples/boilerplate.py64 async def do_something(self):CODE