@tibbo-tps/pinmap

0.0.1 • Public • Published

pinmap

Converts the LTPP S pin reference into real SoC value and vise-versa.

Usage

const TPSpmap = require( './index.js');

var x = TPSpmap.getRpin( 'S1A');
console.log( 'CPU pin #:' + x);

Requirements:

  • /opt/tps-shared/hwini/pins.ini file or user-defined file (see ini() method) should exist

Methods:

getRpin( _p)

Returns the real pin# for the S{ABCD} virtual reference.

Ex: TPSpmap.getRpin( 'S1A') => 8

ini( _pinsinifilename)

Parse pins.ini file at alternative location.

Ex: TPSpmap.ini( './pins.ini')

Readme

Keywords

Package Sidebar

Install

npm i @tibbo-tps/pinmap

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.27 kB

Total Files

4

Last publish

Collaborators

  • tibbo-tps