Skip to content

Commit 7a9dc71

Browse files
Merge pull request #3355 from AlexandreSinger/feature-spelling
[Spelling] Fixed Spelling in the Libs Directory
2 parents 17b226d + 1ce1141 commit 7a9dc71

File tree

78 files changed

+177
-177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+177
-177
lines changed

libs/libarchfpga/arch/mult_luts_arch.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
</device>
141141
<switchlist>
142142
<switch type="mux" name="0" R="94.841003" Cin="1.537000e-14" Cout="2.194000e-13" Tdel="6.562000e-11" mux_trans_size="10.000000" buf_size="1"/>
143-
<!--switch ipin_cblock resistance set to yeild for 4x minimum drive strength buffer-->
143+
<!--switch ipin_cblock resistance set to yield for 4x minimum drive strength buffer-->
144144
<switch type="mux" name="ipin_cblock" R="1431.71752925" Cout="0." Cin="1.191000e-14" Tdel="1.482000e-10" mux_trans_size="1.000000" buf_size="auto"/>
145145
</switchlist>
146146
<segmentlist>

libs/libarchfpga/arch/sample_arch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
& delay of the Stratix IV crossbar as a good approximation of our crossbar.
5252
5353
For LUTs, we include LUT
54-
delays measured from Stratix IV which is dependant on the input used (ie. some
54+
delays measured from Stratix IV which is dependent on the input used (ie. some
5555
LUT inputs are faster than others). The CAD tools at the time of VTR 7 does
5656
not consider differences in LUT input delays.
5757
@@ -256,7 +256,7 @@
256256
Finally, we choose a switch delay (58 ps) that leads to length 4 wires having a delay equal to that of SIV of 126 ps.
257257
This also leads to the switch being 46% of the total wire delay, which is reasonable. -->
258258
<switch type="mux" name="0" R="551" Cin=".77e-15" Cout="4e-15" Tdel="58e-12" mux_trans_size="2.630740" buf_size="27.645901"/>
259-
<!--switch ipin_cblock resistance set to yeild for 4x minimum drive strength buffer-->
259+
<!--switch ipin_cblock resistance set to yield for 4x minimum drive strength buffer-->
260260
<switch type="mux" name="ipin_cblock" R="2231.5" Cout="0." Cin="1.47e-15" Tdel="7.247000e-11" mux_trans_size="1.222260" buf_size="auto"/>
261261
</switchlist>
262262
<segmentlist>

libs/libarchfpga/src/arch_check.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void warn_model_missing_timing(const t_model& model, const char* file, uint32_t
5555
void check_port_direct_mappings(t_physical_tile_type_ptr physical_tile, t_sub_tile* sub_tile, t_logical_block_type_ptr logical_block);
5656

5757
/**
58-
* @brief Checks the timing consistency between tha pb_type and the corresponding model.
58+
* @brief Checks the timing consistency between a pb_type and the corresponding model.
5959
*
6060
* @param pb_type pb type to check
6161
* @param arch architecture data structure

libs/libarchfpga/src/arch_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ void setup_pin_classes(t_physical_tile_type* type) {
11481148
// as ignored pins (i.e. connections are not created in the rr_graph and
11491149
// nets connected to the port are ignored as well).
11501150
type->is_ignored_pin[pin_count] = port.is_clock || port.is_non_clock_global;
1151-
// clock pins and other specified global ports are flaged as global
1151+
// clock pins and other specified global ports are flagged as global
11521152
type->is_pin_global[pin_count] = port.is_clock || port.is_non_clock_global;
11531153

11541154
if (port.is_clock) {

libs/libarchfpga/src/echo_arch.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static void PrintPb_types_recPower(FILE* Echo,
2323
const char* tabs);
2424

2525
/* Output the data from architecture data so user can verify it
26-
* was interpretted correctly. */
26+
* was interpreted correctly. */
2727
void EchoArch(const char* EchoFile,
2828
const std::vector<t_physical_tile_type>& PhysicalTileTypes,
2929
const std::vector<t_logical_block_type>& LogicalBlockTypes,
@@ -420,7 +420,7 @@ static void PrintPb_types_rec(FILE* Echo, const t_pb_type* pb_type, int level, c
420420
} else { /*leaf pb with unknown model*/
421421
/*LUT(names) already handled, it naturally has 2 modes.
422422
* I/O has no annotations to be displayed
423-
* All other library or user models may have delays specificied, e.g. Tsetup and Tcq
423+
* All other library or user models may have delays specified, e.g. Tsetup and Tcq
424424
* Display the additional information*/
425425
std::string pb_type_model_name = models.get_model(pb_type->model_id).name;
426426
if (pb_type_model_name != LogicalModels::MODEL_NAMES
@@ -633,7 +633,7 @@ static void PrintPb_types_recPower(FILE* Echo,
633633
pb_type->pb_type_power->absolute_power_per_instance.dynamic);
634634
break;
635635
default:
636-
fprintf(Echo, "%s\tpower method: error has occcured\n", tabs);
636+
fprintf(Echo, "%s\tpower method: error has occcurred\n", tabs);
637637
break;
638638
}
639639
}

libs/libarchfpga/src/logic_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ typedef vtr::StrongId<struct logical_model_id_tag, size_t> LogicalModelId;
9292
*
9393
* There are two types of logical models:
9494
* 1) Library Models: These are models that all architectures share. These are
95-
* created in the construtor of this class.
95+
* created in the constructor of this class.
9696
* 2) User Models: These are models defined by the user and are created outside
9797
* of this class (usually by parsing an architecture file).
9898
*/

libs/libarchfpga/src/physical_types.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ enum class e_sb_type {
494494
* pin_avg_width_offset: Average width offset to specified pin (exact if only a single physical pin instance)
495495
* pin_avg_height_offset: Average height offset to specified pin (exact if only a single physical pin instance)
496496
* pin_class: The class a pin belongs to
497-
* is_ignored_pin: Whether or not a pin is ignored durring rr_graph generation and routing.
497+
* is_ignored_pin: Whether or not a pin is ignored during rr_graph generation and routing.
498498
* This is usually the case for clock pins and other global pins unless the
499499
* clock_modeling option is set to route the clock through regular inter-block
500500
* wiring or through a dedicated clock network.
@@ -998,7 +998,7 @@ struct t_pb_type {
998998
* @brief Check if t_pb_type is the root of the pb graph. Root pb_types correspond to a single top level block type and map to a particular type
999999
* of location in the FPGA device grid (e.g. Logic, DSP, RAM etc.)
10001000
*
1001-
* @return if t_pb_type is root ot not
1001+
* @return if t_pb_type is root or not
10021002
*/
10031003
inline bool is_root() const {
10041004
return parent_mode == nullptr;
@@ -1007,7 +1007,7 @@ struct t_pb_type {
10071007
/**
10081008
* @brief Check if t_pb_type is a primitive block or equivalently a leaf of the pb graph.
10091009
*
1010-
* @return if t_pb_type is primitive/leaf ot not
1010+
* @return if t_pb_type is primitive/leaf or not
10111011
*/
10121012
inline bool is_primitive() const {
10131013
return num_modes == 0;
@@ -1298,8 +1298,8 @@ class t_pb_graph_node {
12981298
* as well), but LUTs A, B and C could still be routed using the parent pb_graph_node's mode "LUTRAM".
12991299
* Therefore, "LUTs" is marked as illegal and all the LUTs (A, B, C and D) will have a consistent parent pb_graph_node mode, namely "LUTRAM".
13001300
*
1301-
* Usage: cluster_router uses this information to exclude the expansion of a node which has a not cosistent mode.
1302-
* Everytime the mode consistency check fails, the index of the mode that causes the conflict is added to this vector.
1301+
* Usage: cluster_router uses this information to exclude the expansion of a node which has a not consistent mode.
1302+
* Every time the mode consistency check fails, the index of the mode that causes the conflict is added to this vector.
13031303
* */
13041304
std::vector<int> illegal_modes;
13051305

@@ -1975,7 +1975,7 @@ struct t_arch {
19751975
bool shrink_boundary;
19761976

19771977
/// Allow routing channels to pass through multi-width and
1978-
/// multi-height programable blocks
1978+
/// multi-height programmable blocks
19791979
bool through_channel;
19801980

19811981
/// Allow each output pin of a programmable block to drive the

libs/libarchfpga/src/physical_types_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ std::string block_type_pin_index_to_name(t_physical_tile_type_ptr type, int pin_
661661
return pin_name;
662662
}
663663

664-
return "<UNKOWN>";
664+
return "<UNKNOWN>";
665665
}
666666

667667
std::vector<std::string> block_type_class_index_to_pin_names(t_physical_tile_type_ptr type,

libs/libarchfpga/src/read_fpga_interchange_arch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ struct ArchReader {
23042304
/*
23052305
* The generic architecture data is not currently available in the interchange format
23062306
* therefore, for a very initial implementation, the values are taken from the ones
2307-
* used primarly in the Xilinx series7 devices, generated using SymbiFlow.
2307+
* used primarily in the Xilinx series7 devices, generated using SymbiFlow.
23082308
*
23092309
* As the interchange format develops further, with possibly more details, this function can
23102310
* become dynamic, allowing for different parameters for the different architectures.

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* help the developer build, and traverse tree (this is also sometimes referred to
77
* as the Document Object Model or DOM).
88
*
9-
* For convenience, it often makes sense to use some wraper functions (provided in
9+
* For convenience, it often makes sense to use some wrapper functions (provided in
1010
* the pugiutil namespace of libvtrutil) which simplify loading an XML file and
1111
* error handling.
1212
*
@@ -429,7 +429,7 @@ void xml_read_arch(std::string_view arch_file,
429429
char* prop = get_attribute(architecture, "version", loc_data, ReqOpt::OPTIONAL).as_string(NULL);
430430
if (prop != NULL) {
431431
if (atof(prop) > atof(VPR_VERSION)) {
432-
VTR_LOG_WARN( "This architecture version is for VPR %f while your current VPR version is " VPR_VERSION ", compatability issues may arise\n",
432+
VTR_LOG_WARN( "This architecture version is for VPR %f while your current VPR version is " VPR_VERSION ", compatibility issues may arise\n",
433433
atof(prop));
434434
}
435435
}
@@ -444,7 +444,7 @@ void xml_read_arch(std::string_view arch_file,
444444
next = get_single_child(architecture, "layout", loc_data);
445445
process_layout(next, arch, loc_data, num_of_avail_layers);
446446

447-
// Precess vib_layout
447+
// Process vib_layout
448448
next = get_single_child(architecture, "vib_layout", loc_data, ReqOpt::OPTIONAL);
449449
if (next) {
450450
process_vib_layout(next, arch, loc_data);
@@ -2029,7 +2029,7 @@ static void process_fc(pugi::xml_node node,
20292029
}
20302030

20312031
/* Go through all the port/segment combinations and create the (potentially
2032-
* overriden) pin/seg Fc specifications */
2032+
* overridden) pin/seg Fc specifications */
20332033
for (size_t iseg = 0; iseg < segments.size(); ++iseg) {
20342034
for (int icapacity = 0; icapacity < sub_tile->capacity.total(); ++icapacity) {
20352035
//If capacity > 0, we need t offset the block index by the number of pins per instance
@@ -3610,7 +3610,7 @@ static void process_pin_locations(pugi::xml_node Locations,
36103610
if (!port_pins_with_specified_locations[iinst][port.name].contains(ipin)) {
36113611
//Missing
36123612
archfpga_throw(loc_data.filename_c_str(), loc_data.line(Locations),
3613-
vtr::string_fmt("Pin '%s[%d].%s[%d]' has no pin location specificed (a location is required for pattern=\"custom\")",
3613+
vtr::string_fmt("Pin '%s[%d].%s[%d]' has no pin location specified (a location is required for pattern=\"custom\")",
36143614
sub_tile->name.c_str(), iinst, port.name, ipin)
36153615
.c_str());
36163616
}
@@ -3820,7 +3820,7 @@ static std::vector<t_segment_inf> process_segments(pugi::xml_node parent,
38203820
if (tmp) {
38213821
segs[i].name = tmp;
38223822
} else {
3823-
/* if swich block is "custom", then you have to provide a name for segment */
3823+
/* if switch block is "custom", then you have to provide a name for segment */
38243824
if (switchblocklist_required) {
38253825
archfpga_throw(loc_data.filename_c_str(), loc_data.line(node),
38263826
vtr::string_fmt("No name specified for the segment #%d.\n", i).c_str());

0 commit comments

Comments
 (0)